The Porter-Duff Experiment

Edited above

Where is the image you want to transform ?

I want to store circular image of any image in the firebase please suggest anyother way if this won't worked.

From the first post above

image

I took pity, and have created an aia project that demonstrated the workflow required to use the PorterDuff extension to make a circular image from any image of any aspect ratio. I also use my ImageConvertor extension. It will make the circle from the centre of all images. I have set the output image size (and mask) to 256x256 pixels, and these must be png images to maintain the transparency. You should be able to supply the blocks with any image, but you will need to convert contenturis to filepaths if using the filePicker component (just use the imagePicker or activityStarter).

circularImageWorkflowFinal.aia (467.4 KB)

2 Likes

What is the method for image a it is in the circle, minimum crop to the circle?

Sorry, do not understand?

Means same ratio of the image will be circled, but not more than the minimum dimensions from the circle.

You might need to show this with pictures or drawing...