Hello, On Tue, 09 Nov 2010 05:23:10 +0100, Petr Gajdůšek wrote:
> Hi, > whenever I run webkit-image <url> >output.png, there is webkit debugging > "garbage" in front of the output.png file: > > ** (webkit-image:22384): DEBUG: NP_Initialize > ** (webkit-image:22384): DEBUG: NP_Initialize succeeded > ** (webkit-image:22384): DEBUG: NP_Initialize > ** (webkit-image:22384): DEBUG: NP_Initialize succeeded > ** (webkit-image:22384): DEBUG: NP_Initialize > ** (webkit-image:22384): DEBUG: NP_Initialize succeeded > ** (webkit-image:22384): DEBUG: NP_Initialize > ** (webkit-image:22384): DEBUG: NP_Initialize succeeded > <89>PNG^M > ^Z > > This makes resulting PNG image not readable without removing this lines. I couldn't reproduce those debugging messages: $ ./webkit-image-gtk http://www.hanskalabs.net > foo.png (webkit-image-gtk:15285): Gtk-CRITICAL **: IA__gtk_container_add: assertion `GTK_IS_CONTAINER (container)' failed (webkit-image-gtk:15285): Gtk-CRITICAL **: IA__gtk_container_add: assertion `GTK_IS_CONTAINER (container)' failed $ file foo.png foo.png: PNG image data, 2000 x 2000, 8-bit/color RGB, non-interlaced $ ./webkit-image-gtk http://www.debian.org > foo.png $ file foo.png foo.png: PNG image data, 644 x 10300, 8-bit/color RGB, non-interlaced Maybe it's specific to the website you're trying to snapshot? Are you sure that you're using the GTK version? Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature