Manipulating Bitmaps (BMP)
Posted: Wed May 30, 2012 7:56 pm
Is there some library we can use with FWH to manipulate the bitmaps?
I am refering to BMP files
For example, I need the bitmaps we print on some forms to be exactly 150 pixels of height.
The bitmaps we get are of different heights and widths
The idea is to resize each bitmap to be of height 150 pixels and this has to follow the aspect ratio.
So if the initial bitmap was 400 pixels height abd 1000 pixels width, the resulting image would be something like 100 pixels height and 250 pixels width
Another thing is I need to write the changed image to disk under the same name and then actually print it by using oPrn:SayBitmap()
Is there any way to accomplish this using xHb and FWH?
Thanks
I am refering to BMP files
For example, I need the bitmaps we print on some forms to be exactly 150 pixels of height.
The bitmaps we get are of different heights and widths
The idea is to resize each bitmap to be of height 150 pixels and this has to follow the aspect ratio.
So if the initial bitmap was 400 pixels height abd 1000 pixels width, the resulting image would be something like 100 pixels height and 250 pixels width
Another thing is I need to write the changed image to disk under the same name and then actually print it by using oPrn:SayBitmap()
Is there any way to accomplish this using xHb and FWH?
Thanks