Hi, i am looking for the possibility to increase size of an bitmap by adding white regions e.g. on top and bottom. (I load an image having 400x300 Px from file and want to add white stripes to change size to 400x400 Px.) Thank you! Dirk
Hi, i am looking for the possibility to increase size of an bitmap by adding white regions e.g. on top and bottom. (I load an image having 400x300 Px from file and want to add white stripes to change size to 400x400 Px.) Thank you! Dirk
> i am looking for the possibility to increase size of an To perform the changes graphically you'd create a new DIBSection at the size of your final image, fill it with white then blit the original image (Presumably also in a DIBSection) over to it then write it back out to disk. If you're unfamiliar with the API calls involved then take a look on the MSDN or Google for example code dealing with CreateDIBSection(), FillRect() and BitBlt() - Should be about all you need. Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: XXXX@XXXXX.COM WWW: http://www.**--****.com/
Users browsing this forum: No registered users and 20 guest