Curtail icon indicating copy to clipboard operation
Curtail copied to clipboard

Is the algorithm selected for compression the most suitable?

Open Ricky-Tigg opened this issue 1 month ago • 0 comments

Hello. A message integrated into the UI announcing a skipped task is displayed when the execution of a compression request would result in a file size superior than the original; I don't see anything inconsistent with that. However, could there exist an algorithm whose compression output is solely a file of smaller or equal size, which would make it eligible for inclusion in this program for practical purpose?

File selected that triggers such a message

$ od -tx1 picture.png | awk '$1=$1' | head -n 1
0000020 00 00 03 04 00 00 02 6e 08 06 00 00 00 0e e3 c5
$ file -b picture.png 
PNG image data, [...], 8-bit/color RGBA, non-interlaced

Ricky-Tigg avatar Nov 07 '25 11:11 Ricky-Tigg