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

These blocks convert a file in your ASD from png to jpg

You can get details about the converted file from the afterConverting event

image

Sorry my file type autocorrected I want a PDF to become a jpg.

Then display it in an arrangement and use the component to image extension.

As I have said before a PDF is not an Image file.

Portable document format can only be transferred into document form if using Adobe Otherwise it is an image file. But your solution sounds better than arguing.

Make this an image then:

LoremIpsum.pdf (57.2 KB)

Understanding PDF and Images:

  • A PDF (Portable Document Format) is a document format that can contain text, images, and other elements.
  • Images within a PDF can be embedded as part of the document, but the PDF itself isn't an image format.

Update to version 3.9,

Improved handling of special characters in output file name
(read all about it here)

ImageConvertorV3.9.aix

Ok,

PDF as Images





The main thing I am asking is that you can turn the images on a PDF into a jpg using this extension even if it is not an exact image file.
(sorry for the length of the images)

No, PDF is NOT an Image format, as stated several times above. This extension cannot convert a PDF to a jpg image.

Are you able to make it possible through an update from the extension? That would be really helpful.

Why not use this extension

It would be more reliable and easy to use if I used a block like this:
Screenshot 2025-05-23 9.43.30 AM
But I don't know how I would program it. I have my app use PDF extension and I want my PDF to jpg to be done through a single block rather than a visible component.
It would allow the PDF to be converted into a jpg in the background. No visible components.

I would need to write a different extension.

Ok, Thank you!

Try it:

Use view-pdf extension to preview/identify pages in pdf
Use ImageConvertor or ImageCropper extension if image requires further cropping.

Hi all.
Can the ImageConvertor1.Convert and ImageConvertor1.resize be able to output the result into a custom location like: /storage/emulated/0/Download/ ?
thanks.

Yes, read the first post, it shows you that you need to provide an absolute path for your files.

Depending on your Android version, you may have to allow media permissions to do this.

I usually perform image convertor operations on image files in the ASD, then copy them to Shared Storage as required using the File component.
.
.
.

As an aside, I moved your post into this topic, why did you not ask here directly ?

Hi @TIMAI2.
I'm trying to use your Convertor extension to resize images.
I select an image with picker and I would like to view the resized image in an image component.
I ask for permission to read and write external in initialize block.

Unfortunately I receive this message

"no protocol: /storage/emulated/0/Pictures/_app_inventor_image_picker/picked_image4428068802340960174.jpg"

What can I do?

Hmm, this shouldn't be happening, but you can fix it like so:

image

@TIMAI2 now the error message is
"Expected authority at index 7: file://"

Please show the values for ImagePicker1.Selection and "your" Image1.Picture