cvzi / ScreenshotTile

📲 Screenshot Tile for Android without Root
https://f-droid.org/packages/com.github.cvzi.screenshottile/
GNU General Public License v3.0
253 stars 29 forks source link

Crop function doesn't work right #535

Open jonsnow231 opened 4 months ago

jonsnow231 commented 4 months ago

This app worked fine for me for a long time. I stopped using the crop feature months ago because it would output an image that was below what I cropped it at. I'm talking about when I set subsequent action to crop. It doesn't matter if I do legacy/screenshot or whatever to actually take it. Because it works fine if I have it open in a different editor other than Screenshot Tile to crop right aftewards.

But that was the entire reason I started using Screenshot Tile, because I could immediately crop it and have that saved, no extra steps.

I'm using Graphene OS if that makes a difference. I tried deleting storage/cache, fresh install from both F-Droid and Play Store, and all have the same problem where crop outputs below what you actually crop it as.

Also, why is the app 3.6mb in F-Droid, and 2.2mb or so in Google Play?

cvzi commented 4 months ago

Thanks, I'll look into.

Regarding the app size, I have no idea. I just upload the apk files from F-Droid to Google Play (and also here on Github in the releases) and as far as I understand Google doesn't alter the apk file.

cvzi commented 4 months ago

@jonsnow231 Which Android version do you use?

I can reproduce this on Android 14 on the emulator. Likely this is related to #462 where the screen coordinates were also different on Android 14 compared to older Android.

cvzi commented 3 months ago

A new version is now available that probably fixes this problem.

jonsnow231 commented 3 months ago

A new version is now available that probably fixes this problem.

I tested it out, and it works now if you take a screenshot and have subsequent option crop it. This seems fine for me, but just so you know, the same problem persists if you have the assist action be select area and subsequent action do nothing. Then the crop from selecting an area goes below whatever you selected.

cvzi commented 3 months ago

Thanks! Should be fixed now in the assist action as well

Kreiri commented 1 month ago

I have this issue with 2.11.2 on Android 13 (Moto G54 5G). Actual cropped images appear to be lower than the intended cropped area by the height of the status bar. (Tested by selecting top area of the screen, status bar included, in the crop tool.)