[Mono-bugs] [Bug 381169] System.Drawing.Image and png resolution

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 18 09:22:15 EDT 2008


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

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=381169#c2


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #2 from Sebastien Pouliot <spouliot at novell.com>  2008-04-18 07:22:15 MST ---
If your image really have resolution information inside itself it's also
possible that your library was compiled against an old version of libpng and
that it does not pass the 
#if defined(PNG_INCH_CONVERSIONS) && defined(PNG_FLOATING_POINT_SUPPORTED)
test before reading the resolution (PNG_INCH_CONVERSIONS is "somewhat" recent).

At least that was my problem. This is fixed in r101120 by "manually"
getting/computing the resolution (and fallback to screen resolution if nothing
is found).

Thanks for your report! 


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


More information about the mono-bugs mailing list