searene / Anki-Addons

This repository is used to store all kinds of anki addons that I created
MIT License
24 stars 3 forks source link

Add jpg quality setting to ImageResizer #20

Open twwn opened 5 years ago

twwn commented 5 years ago

Would be great to also be able to select the JPG quality. The current one set (whichever default that is) results in quite large filesizes.

Didn't actually find where to do that with QClipboard. (I think you can omit the conversion into QMimeData in checkAndResize though, and instead just return the QImage im, to instead of setMimeData call setImage. The doc explicitly lists that as "shorthand".)

searene commented 5 years ago

Hi nwt,

Sorry for the late reply, I've got my hands full recently. Have you tried the "use smooth resizing" dropdown? Just try changing it to another option and see if it works for you.

Regards, Searene

On Tue, Oct 23, 2018 at 4:01 AM nwt notifications@github.com wrote:

Would be great to also be able to select the JPG quality. The current one set (whichever default that is) results in quite large filesizes.

Didn't actually find where to do that with QClipboard. (I think you can omit the conversion into QMimeData in checkAndResize though, and instead just return the QImage im, to instead of setMimeData call setImage. The doc explicitly lists that as "shorthand".)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/searene/Anki-Addons/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMjFei8dKlkLJcphfRe8j7jHOPrn4WRks5uniQvgaJpZM4X0E2s .