Just want to load a .PNG, tried with my LoadPic() using OleGraphic that works with other formats, but it failed on PNG.
The goal is to copy the image to a hidden bitmap whence it is then masked and copied to a visible working image canvas. Feel free to suggest something else if CopyRect doesn't do this.
But the main question: Load PNG. How? I've found a lot of pages (f.ex. TPNGImage), but all the resources and links on the web are dead, gone or not downloadable.
Delphi 7 doesn't support PNG natively. There are several third party components that will let you add that support. For example, on Torry's site.
Recent versions of Delphi support PNG natively, amongst many other enhancements, and you would be well advised to upgrade.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With