Jump to content
Sign in to follow this  

Cut a graphic, GDI function

Recommended Posts



I want to cut a graphic. For bmp graphics there is a GDI function like   _GDIPlus_BitmapCloneArea.

Is there a function like this for png extension graphics?



Share this post

Link to post
Share on other sites

_GDIPlus_BitmapCloneArea can be used for all images which are supported by GDI+!

For transparent images you have to use the format flag $GDIP_PXF32ARGB if you want to keep the transparency after cropping.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this