[Mono-bugs] [Bug 506179] unable to set different quality when saving JPEG images using Bitmap object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 18 12:16:43 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=506179

https://bugzilla.novell.com/show_bug.cgi?id=506179#c5


--- Comment #5 from Juraj Skripsky <juraj at hotfeet.ch> 2010-10-18 16:16:42 UTC ---
The call to "gdip_find_encoder_parameter (params, &GdipEncoderQuality);" in
jpegcodec.c doesn't find the quality parameter (the GUID don't match). So the
problem lies in the encoding of the parameter and hence in
EncoderParameters.ToNativePtr()/EncoderParameter.ToNativePtr()*. Something in
there must be assuming that we're running on a 32bit system.

*) see:
http://github.com/mono/mono/blob/master/mcs/class/System.Drawing/System.Drawing.Imaging/EncoderParameters.cs
http://github.com/mono/mono/blob/master/mcs/class/System.Drawing/System.Drawing.Imaging/EncoderParameter.cs

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list