Resolution of a bitmap in a .bmp file
-
How to improve the resolution of a bitmap in a .bmp file. When I print the bitmap, its resolution is not good. Can anyone suggest me some code to improve its resolution??? aasstt
The only reason i can think of that your bitmap resolution is not good, is because you strech it even not intently. make sure when you blit the bitmap, that the cx and cy are correct (meaning you got them right using the GetBitmapDimentions method).... Yaron Ask not what your application can do for you, Ask what you can do for your application
-
The only reason i can think of that your bitmap resolution is not good, is because you strech it even not intently. make sure when you blit the bitmap, that the cx and cy are correct (meaning you got them right using the GetBitmapDimentions method).... Yaron Ask not what your application can do for you, Ask what you can do for your application
-
How to improve the resolution of a bitmap in a .bmp file. When I print the bitmap, its resolution is not good. Can anyone suggest me some code to improve its resolution??? aasstt
Can you be more specific.
-
Can you be more specific.
I have created a compatible DC(MemDC) of the printer DC. Then MemDC->SelectObject(bitmap) Then whatever I draw on the screen is drawn in memory. and then I have Converted this bitmap from DDB to DIB. Then I have written this DIB in a .bmp file. but when I open this file in Paint & give its print its resolution is not good i.e it is not appearing as a smooth image but an image with steps in it. aasstt
-
I have created a compatible DC(MemDC) of the printer DC. Then MemDC->SelectObject(bitmap) Then whatever I draw on the screen is drawn in memory. and then I have Converted this bitmap from DDB to DIB. Then I have written this DIB in a .bmp file. but when I open this file in Paint & give its print its resolution is not good i.e it is not appearing as a smooth image but an image with steps in it. aasstt
aasstt, I dont know your code but I use handle printer dc and I created bitmap or I load bitmap from file and then print and resolution isnt bad. Now you have bitmap from file or you created bitmap inside your program
-
aasstt, I dont know your code but I use handle printer dc and I created bitmap or I load bitmap from file and then print and resolution isnt bad. Now you have bitmap from file or you created bitmap inside your program
-
I have created the bitmap and then written that bitmap using the WriteDIB function(which I have downloaded from codeproject)in a .bmp file. aasstt
if you have bitmap(that you created) why you directly print instead save to file and again loaded?if it has handle HBITMAP