[Free] Image Convertor: extension to convert image format jpg / png / webp (and much much more)

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 :rage:

Now it is working ! :grinning: :grinning: :grinning: :grinning: :grinning:

Thank you very much

1 Like

@Jacques_Dumarest

Thanks for your bug testing :slight_smile:

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]

1 Like

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.


RotateTest.aia (17.0 KB)

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 !! :question:

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.
image

1 Like

Yes, I keep meaning to do this :wink:

Will fix it today !!

[EDIT] now fixed.

Update to version 3.3

handles target and output paths with both full and absolute paths, e.g. file:///storage/... and /storage/....

ImageConvertorV3.3.aix

1 Like

Small Update to version 3.4

Now saves thumbnails as png files to preserve transparency, if present.

ImageConvertorV3.4.aix

Update to version 3.5

added a Flip function, user can flip an image vertically or horizontally

ImageConvertorV3.5.aix

1 Like

Update to version 3.6

  • added Rounded Corners function. Output must be saved as png to preserve transparency. A setting of width/2 on a square image will return a circular image.
  • minor bug fix to the handling of File component full paths (file://), which now should work correctly for all extension functions.

ImageConvertorV3.6.aix

4 Likes

Update to version 3.7

  • hopefully fixed bugs with interchange between formats
  • as a bonus I have added Crop To Circle, this will take an input image of any dimensions and crop to a circle at the centre. This was already possible using the extension (from v3.6) with a bit of work with blocks, but now Crop To Circle simplifies the process.

ImageConvertorV3.7.aix

2 Likes