[Gtk-sharp-list] checking the Gdk.Pixbuf support for JPEG

Haagen haagen at cranklever.com
Sat Mar 10 20:13:24 UTC 2012


Thanks for providing the info on how to fix broken JPEG loading.  I'm
surprised the issue isn't mentioned anywhere else.  Maybe it's my weak
search skills but I couldn't find an answer anywhere until I came here and
found your message.

One thing though.  I had to do the opposite of what you mentioned in step 3. 
I had to rename libjpeg7.dll to libjpeg-7.dll.  Still it fixed the problem,
so thanks again for providing the fix.  I doubt I would have had the
patience to track that down on my own.

When I ran gdk-pixbuf-query-loaders.exe I noticed that there were a couple
of other libraries it couldn't find.  One was the TIFF library.  I haven't
tried renaming that one as well to see if it would fix the problem since I
don't expect to be loading any TIFF files.  I just thought I'd mention it.


philippe.monteil wrote
> 3) rename libjpeg-7.dll to libjpeg7.dll .
> 
> The problem is that the real name for this DLL is libjpeg-7.dll,
> you will then have to RENAME libjpeg-7.dll to libjpeg7.dll .
> 
> 4) re-generate gdk-pixbuf.loaders using gdk-pixbuf-query-loaders.exe
> 
> Once this is done, run gdk-pixbuf-query-loaders.exe and redirect its out
> put to a TMP.txt file.
> 
> Replace 
> 	C:\Program Files (x86)\GtkSharp\2.12\etc\gtk-2.0\gdk-pixbuf.loaders
> by this newly generated TMP.txt file.
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/checking-the-Gdk-Pixbuf-support-for-JPEG-tp3747144p4462741.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list