chekuhakim / paperweight

Paperweight: Open-Source PDF Compression Self Hosted
GNU General Public License v3.0
39 stars 2 forks source link

Compression Slider Not Functioning #1

Open mareising opened 2 months ago

mareising commented 2 months ago

The interface works well, but whether you have the slider set to 10% or 90% the output is always exactly the same and is extremely aggressive compression to the point where it is barely legible.

Compression Issue
mareising commented 2 months ago

It looks like this is implemented using Ghostscript 9 instead of 10. Maybe that would help?

chekuhakim commented 2 months ago

the problem using the slider is that in the python code i specified in the interval of 10 20 30 but in slider in interval of 1. i changed to dropdown menu and now it is working again. you can test it now . tell me it is fixed

mareising commented 2 months ago

It looks like you changed from a slider to a drop down. The result is actually slightly worse now. Both High Quality and Low Quality settings result in the same output kB file, however now Adobe Reader complains that the file is corrupted. Could I also request that you look at the duplicate entries in the drop down? Its also a little counter intuitive that "High Quality" is the lowest quality. I'd suggest doing "High Compression" or similar as a more intuitive label.

2024-05-02 09_02_19-Compress PDF
chekuhakim commented 2 months ago

woah. its weird let me fix real quick

chekuhakim commented 2 months ago

okay i have fixed it. should be okay

mareising commented 2 months ago

There's still an issue. Although default now exports at 369 kB with decent middle of the road quality, both "high resolution" and "low resolution" still both output the exact same 92 kB file that is barely readable.