Hi,
How can i load a picture in hight quality(ImgBx/PicBx)?
;)
Printable View
Hi,
How can i load a picture in hight quality(ImgBx/PicBx)?
;)
Well the VB controls do not support .PNG, so getting a transparent image at that quality would be impossilbe... Therefore you have 2 options:
Create the image in .BMP or .JPG format and make the backcolour the same as your form
OR
Search for GDI+ or a PNG class support utility..
You can draw it using the BitBlt API.
http://allapi.mentalis.org/apilist/BitBlt.shtml
Since this is VB 6 it would be GDI and not GDI+ ;)
Have a look at these two submissions by Lavolpe
32bpp Dib Suite including a Png parser class
Alpha image control
Why can you not load a transparent GIF image? I do it and it works or is a GIF not a high quality that you would like?
A gif is low quality image data type. Png is about the best quality and retension of quality until you get to the raw file data type.
Thanks to all ;).
Resolved