72 dpi bitamp
I want to make 72 dpi bitmap file. Can anybody suggest me how can I do it?
Thanks in advance.
that's something you *CAN NOT* do.
All you can do is create a bitmap and display it on a 72 dpi (dots per inch) device.
Any bitmap that is displayed on such a device could of course be called a "72 dpi
bitmap", but it doesn't make sense.
That is unless your dpi is an acronym for something else?
It would be helpful to know what you are trying to achieve.
Life is a short warm moment -
Death is the long cold rest.
well, you *can* use 72 pixels per inch as a base scale factor when you create the image, so that when you pop it onto the display one pixel is one pixel (if the graphics mode, card, and monitor all agree, which means on some small % of the existing computers youll get what your looking for ??)
I think he meant a resolution of 72 DPI, which is what a scanner can use when scanning an image to a file. Obviously, the actual DPI will depend on the device that displays the image but the resolution is at least 72 DPI.
My qestion was about Device independent bitmap
Actually I want to develop device independant 24-bits 72 dpi bitmap file into memory. Please help me for that.
You have to know the dimension of the image you are creating in inches, then simply interpolate to stretch it to 72 pixels per inch. There are several algorithms for image resize - I think bicubic is the one most use by default (?).
By imosha in forum VB Classic
Last Post: 05-15-2006, 06:06 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL