Hi everyone, I need some help. I have to create an app that does the following things:
Take a photo
Give the photo a specific name
Write a line of text on the photo
Save the edited photo to the gallery
I was able to do steps 1 and 2, but I can't move forward.
The final result I get is the photo saved in the gallery with the correct name, but without the text overlaid on the image.
For example, the "SaveText" block correctly writes the line of text on the image component, but it doesn't save the edited image to the gallery.
Or you could try to use canvas component, It has a write text feature built into it. And combined with the KIO4 Pdf extension you can do all the steps you have in a smaller amount of blocks.
_Junko
The canvas component has a very low limit for height and width. If I put an image inside, it loses a lot of quality (I've already tried — in this case the text works, but the quality is not acceptable).
I am not sure if the extension actually commits the changes to file, it only changes the image component view.
You may need another extension Component To Image to actually save the modified image
Another option may be to export the image view to base64, then save this as a file (the watermark would probably need to be on the same layer for this to work: