@Jacques_Dumarest Hopefully fixed it. Try this new version of the extension:
uk.co.metricrat.imageconvertorV2.11.aix (12.5 KB)
@Jacques_Dumarest Hopefully fixed it. Try this new version of the extension:
uk.co.metricrat.imageconvertorV2.11.aix (12.5 KB)
Thanks for this V2.11
I tried it
I also tried webp format, and it also fails.
Here is my App: TestTransparency.aia (1.7 MB)
Does my App works fine with you ?
Yes, works OK here
Did you get an error or a crash ?
Did you restart companion after updating the extension ?
You are right, I forgot to restart the companion after upgrading the extension
Now it is working !
Thank you very much
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.
[ImageConvertorV3.2.aix]
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?
What image type ?
.PNG
Should i use jpg?
Let me see if I can replicate / understand what is happening.
5mb ? (is big enough?)
Ran a couple of tests.
With a 6.0k square image this increased in size to 6.4k after rotating by 90 degrees
With a 4mb camera image (4x3) this increased in size to 6.6mb after rotating by 90 degrees
The files have the same dimensions (although switched, after rotation)
Not seeing the massive filesize increase that you are?
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.
Edit: the input.png is comprimised after upload. Here is a link to the File i used with this aia: Dropbox - input.zip - Simplify your life
Different setups must do different things.
I tested with your image.
Original: 6.1mb
Rotated: 5.8mb !!
Wel okay,then IT must BE my Smartphone
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.
one suggestion:
replace "file://" with "" in target and output in the extension source code, then the user no need to substring any more.
Yes, I keep meaning to do this
Will fix it today !!
[EDIT] now fixed.
handles target and output paths with both full and absolute paths, e.g. file:///storage/...
and /storage/...
.