Log in

View Full Version : Any way to set JPG compression level in mpclassic HC?


movmasty
5th March 2013, 04:02
I see that in the last versions jpg compression default is set to 75%,
this is too low, specially for the small thumbnails
and was higher in earlyer versions.

So, there is any way to set the JPG compression level ?

movmasty
5th March 2013, 17:18
I guess no then

SamKook
5th March 2013, 18:14
I guess be more patient, not everyone go on the forum every day.

I personally have no idea. I prefer saving them to png anyway and convert them to jpg manually if needed.

movmasty
5th March 2013, 23:48
I guess be more patient, not everyone go on the forum every day.

I personally have no idea. I prefer saving them to png anyway and convert them to jpg manually if needed.
Yes, this could be an idea

But i guess that at least one expert is here every day.

SamKook
6th March 2013, 01:13
Maybe, but the experts aren't expert on every possible subjects or options.

I took a look at the ini file and didn't see anything about changing the quality so I doubt it exist.

One thing you could do though is find where in the source code the quality is set, change it and then compile it for yourself. It's not that hard if you're willing to spend a little time on it and you don't really need any programming knowledge as long as you have a little logic.

Or you could make a feature request for a setting to modify the quality its saved in and hope someone is interested in implementing it.

Snowknight26
6th March 2013, 01:21
Modify CMainFrame::SaveDIB (line 4669 of MainFrm.cpp), specify an EncoderParameters object with the required values and pass it to Image::Save (line 4737) instead of NULL, then recompile MPC-HC!

Otherwise no, you can't.

movmasty
6th March 2013, 08:15
Thanks, but i find the compression too high just when i have to edit the pic,
thus i can save uncompressed and then in jpg.

About compiling my mpc, well, i never did it, never saw a compiler, i am of an older generation when at school no one even pronounced computer or programming :)

JEEB
6th March 2013, 15:34
Thanks, but i find the compression too high just when i have to edit the pic,
thus i can save uncompressed and then in jpg.
Uhh, first of all... If you are going to edit the picture, why use JPG and not PNG, which is lossless but still compressed? And then export JPG from the app you're editing in?

And even if your use case is iffy, making it possible for the user to select the compression level for JPG is a valid feature request :)

I recommend you add a feature request ticket on the MPC-HC's issue tracker (https://trac.mpc-hc.org/).