Image cropping help

@TIMAI2, Can you suggest a aia file to use a image picker instead of list picker for the image to crop?

Just use the imagepicker to return the image then use the url provided.

You mean replace all LIST PICKER SLECTION for IMAGE PICKER SELECTION?
I tried it, but something is wrong. The image doesn't come to crop :confused:
Here is my AIA file: Photo_Editor.aia (70.7 KB)
Please fix it for me, it would be a great help :pray:

Sorry for the inconvenience!

from one of my howtos on the subject:

The html file MUST BE in the same folder as the image files for this to work (in my example, everything is in the assets). If your images are stored elsewhere on the device, then a copy of the html file will need to be made to the images directory - or the directory above the images directory (you will have to change the relative path in the webviewstring you send).

I suggest you pick the file, then move it to a location in your ASD where you have also set a copy of the html file, make sure you call the html file from that path.

Please help me. I do not want to use a list picker but my image is stored on firebase storage, I want to crop the image. Please help. It would be so nice of you.

I have replied on your original post. Do provide me answers there!

hi! @TIMAI2 , as i saw in your aix, this aix can only crop in rectangle shape. Can you please add a functionality, so that it can crop non- rectangular, shapes as well. There are 4 dots in your extension to crop, can you please add 6 dots?

@ Kvtechz

There is no aix, just blocks in an aia project. The initial design was to work with Taifun's Image extension, which crops rectanlges only, hence the four dots.

Also, you missed this :wink:

I went thru the link provided by you, but, that's not what i wanted. Actually, i don't want prefixed shapes.
Just like page scanner apps, i wanted to scan a page, and also, adjust it's boundaries. Apps like CAMSCANNER, ADOBE SCAN

I see so you want a free cropping option to crop irregular shapes i saw a java example if a extension developer is free he can try -

@TIMAI2
Can you please help in cropping the image that i have to take from firebase storage. Please provide me aia. I checked your aia files of cropping image but they are using list picker. I do not want to use that.
Please help its been days i am unable to find exact answer.

Please do not post (and tag) the same thing/user in two posts. It is just morning for where Tim lives. Patiently wait for Tim to respond.

1 Like

Not sure why this is proving so difficult for you ?

Remove all the listpicker / file finding blocks and components.
Download your image file from Firebase to your ASD
If your image is not a jpg, convert it to a jpg.
Set your downloaded image to the canvas (using the sizing ratio tool)
Drag the rectangle with dots to your desired crop
Run Taifun's Image extension Cropper blocks on the image.

2 Likes

I do not know why I am not able to do it.
Please make it for me. I removed all file picker things but still, it's not working.
I am successful at taking pictures from firebase storage individually but in this project, I cannot load. I think I am not so much an expert to understand all that.
Please take some time for me to do that.

Can you please remove those and load a picture from firebase. Please it is requested. will be humbled.

Herewith an aia project using @Atom_Developer 's cropview extension (as above)
atomCrop.aia (76.2 KB)

1 Like

Hi,
I am trying to save the cropped image but I am not getting the corpped image, can anyone help me out, maybe I am using the wrong blocks

Then show your relevant blocks....

I have just added a Save button

Here Check this

If you look at my blocks, you will see I save the image before trying to display it, and use a clock timer to ensure the image has had time to be saved. Why did you not just follow my blocks or try out my aia project?