Actually, it looks like changing the opacity with SetOpacity change the dynamic of the image, but do not change the alpha channel of the image.
If I have a canvas with a background color e.g. green and I set a background image witch is 50% transparent (ispahan-50.png), I get a mix of the green and the image.
If I start from a JPEG and change the opacity with the SetOpacity block and display it over the green background, the image is darker, but is not greenish: mixed with the green background.
It works OK if you use webp instead of png. You can output your image from the canvas to png though.
Still testing....seems to be OK for images that are already a png (so no need to convert image type)
Update to version 3.2, now in includes a crop function, returns image dimensions (width,height,size), and generates a thumbnail image from selected image.
if i use the rotate feature my picture jumps from 5mb to 22mb (rotated).
is there a possibility to just rotate a picture without that ammount of file size?
Sorry needed some time to answer your question. Thank you for trying to help me.
i made a simple app to be sure that it is not a problem from my other actions, but it has the same problem. might be my file or my phone idk.
You could always run a resize on the rotated image if you test the image size and it is too big, hopefully it will still be of a decent enough standard after resizing. The latest version of the extension provides a method for getting the filesize/dimensions, and for cropping.