Transform a 9:16 or 3:4 photo to a 1:1 one!

We are not really getting anywhere...

"Put as much effort into your questions as you'd expect someone to give in their answers"

i just want to tranform the photo to 1:1 to fit in the frame and then save the image1 and image2 overlayed

OK, you have a frame, or a set of frames you can select from to overlay

You should be able to use Taifun's Image extension for this, there is an overlay function.

but the overlay situation is done i just need to crop the photo and then save a print of the images overlayed

The way you are doing it, you will need another extension, ComponentToImage to capture the frame and image as one (assuming these are both inside an arrangement)

There are, in my opinion, and as indicated, possibly better ways to do this.

Hi! I did not understand how to crop the image automatically yet, i just need to take the picture and then automatically it crop to 1:1 (if it was not taken with that ratio) and then save the images overlay i have done by clicking a button!

I can put together a solution for you. Need the following information:

  1. Will the "photo" always be taken by the user, using the device?
  2. Do you have a desired output size for your square image ? 256x256 would be enough for viewing on a phone.
  3. Can you please upload the frame image you want to use?
  4. Where should the output image be saved? Do you need to keep the original image? From what you have shown already you want to save the 1:1 image by itself, and the image in a frame? Do you have a naming strategy for the image and framed image files ?
  5. Anything else I might need to know?
  1. yes the photo will be taken by the user and then he can see preview of the foto automatically in 1:1 ratio and choose the frames.
  2. No, I´m not good in photo definition but that one i think is good
  3. Ok:



The cabine 4, in the bottom, will have a label with the location
And It will have one just to remove or save the photo without frame.
4. In the user gallery It will save the overlay of the two photos and if the user chose the location one it will save photo taken+frame+locationlabel, and the maybe will be Volta_yyyymmdd
5. It will have a second button to save the photo and when click it saves and reset the background photo

Ty :slight_smile:

You have four overlay frames, does the user make a selection before taking the photo, or after ?

cabine 4 ?

There is no such location as user gallery, you need to save your images somewhere in shared directories for them to show up in the gallery...

User chooses location, do you mean the latitude/longitude of the place the photo is taken, or a typed location, e.g. "The_Winter_Palace" ? Provide some examples of filenames you would expect...

This all becomes less automatic as we explore your workflow...

There is an option to take a 1:1 photo from within the app, does that sound useful ?

after with the result, cabine 4 is the name of the photo, i want like this:


The location change by the user location automatically

The last question sound useful!

Don't understand...explain clearly what you want there.

The user dont choose the location, it change automatically. I used a api key to made it.

Well, this kept me out of the garden for a couple of hours :wink:

Used 3 extensions, Procam (credits @Kumaraswamy), ImageConvertor, and PorterDuff (my own)

The user has to type the text for cabine_4...

The image is taken as a 1:1. All Images are resized to 256x256.

frameImage.aia (74.1 KB)

Tested and working in Companion 2.74u on Android 15 (Pixel 8a)

I Will test, tysm

Can you help me with that idea but a different format?
Can I send you my idea made in a .aia file but i have some things to correct.
If I be able to send I explain more things :slight_smile:


This is what I made.
Button 1- take picture
Molduras- buttons to select the frames
Nada- remove frame
Button 2- to save the photo
Maybe another button to reset if the user dont like the photo?

Can you help me?

No sign of your aia file here, yet ?

Not really sure what it is you want help with. Seems you want to continue with your overlay extension method, I provided you with a link to an extension above that can capture your image/s.

s.aia (2.7 MB)

Here it is :slight_smile: