LosslessJpgCrop icon indicating copy to clipboard operation
LosslessJpgCrop copied to clipboard

cannot save cropped image (non-jpg image file)

Open fongaboo opened this issue 4 years ago • 4 comments

Getting this everytime I attempt a crop:

IMG_20200906_090404_704

Android 7.1.2 LineageOS 14.1

fongaboo avatar Sep 06 '20 13:09 fongaboo

does this happen with every jpg file that you try to crop? have you tried to save the croped file to a different folder?

k3b avatar Sep 07 '20 05:09 k3b

It also happens to me. It doesn't happen to every JPEG files. When the issue happens, it is of no use to save to different folders.

ShamrockLee avatar Nov 20 '20 04:11 ShamrockLee

While the visible gui part of llcrop can handle jpg/gif/png the processing part (i.e. the lossless cropping library) can only handle jpg files (but not pngs or gifs.)

The errormessage "cannot transcode" is an indecator for non-jpg.

TODO:

add lossy cropping of non jpg-files with a warning that quality may be lost

k3b avatar Nov 20 '20 11:11 k3b

Coming from "Aves" gallery sharing a png screenshot to llcrop failes with the same error message if i then wanna save or redrirect further - even though i can visually edit first inside the gui.

First sharing to "imagepipe" - then as jpg to llcrop - "fixed" this though.

Mafiadoener36 avatar Oct 11 '23 02:10 Mafiadoener36