From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1P2AOk-00074c-1Q for mharc-grub-devel@gnu.org; Sat, 02 Oct 2010 18:17:42 -0400 Received: from [140.186.70.92] (port=44327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2AOg-00074S-EF for grub-devel@gnu.org; Sat, 02 Oct 2010 18:17:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2AOe-0003o6-0v for grub-devel@gnu.org; Sat, 02 Oct 2010 18:17:38 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:52476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2AOd-0003nz-OP for grub-devel@gnu.org; Sat, 02 Oct 2010 18:17:35 -0400 Received: by bwz10 with SMTP id 10so4045998bwz.0 for ; Sat, 02 Oct 2010 15:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Vj8XeIxFcrtPTOH6Uj2bUVaeXsxe3+uLLEyVZy3hIdA=; b=lkFQlUAEqPonFKvOUxiyMc9zb8lkG9UknymGd0cjSgXEpA5YZ2mKN8Sq/+bNm0P3tl FowBC4YxQU/truqXEWr9OB9wC5wfJA2pvqyLKWoyTmnDcHMWmWhLsYT+AmDEWoOsgsSe L9mi9hP7xzSWGpdeiFUfEQQHwpvRMhmDFuhD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=FJZe6q8VEG3fTEEoCuNmiwX8vZZfTUlZ8Q49Mjn1JEPwsaD/d380wZ/aBE8RfX1mMh 4FOmVUwEUKMdgLz5Rub+FF0mTC1/RMY6xi4iZ/D2iZ2SBFm9+Uw907J5/7FfV/qq2aQs 8NEZ8X8IV89/Rz1gxsMOedlWK66P/Xn8IF1QE= Received: by 10.204.45.207 with SMTP id g15mr5560238bkf.14.1286057853886; Sat, 02 Oct 2010 15:17:33 -0700 (PDT) Received: from debian.bg45.phnet (9-15.76-83.cust.bluewin.ch [83.76.15.9]) by mx.google.com with ESMTPS id y2sm2199374bkx.20.2010.10.02.15.17.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Oct 2010 15:17:32 -0700 (PDT) Message-ID: <4CA7AF7A.50507@gmail.com> Date: Sun, 03 Oct 2010 00:17:30 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4CA5D0A0.70107@gmail.com> <4CA61001.20803@earthlink.net> <4CA64153.2050103@gmail.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigC242B090C4F8656A493F9C4D" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: jpeg image does not show in background X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 22:17:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC242B090C4F8656A493F9C4D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/02/2010 11:17 AM, Piscium wrote: > 2010/10/1 Vladimir '=CF=86-coder/phcoder' Serbinenko : > > =20 >> On 10/01/2010 08:55 PM, Piscium wrote: >> =20 > =20 >>> The conclusion appears to be that the jpeg module in grub2 is very >>> fussy about the files that it displays. Note there was nothing specia= l >>> about the files I wanted to display. The "green_mountains" was taken >>> from a blog, and the two 1280x1024 images were taken from the Gnome >>> Art website. >>> >>> =20 > =20 >> It's not really "nothing particular". With pictures taken by my camera= >> it works fine. >> =20 > The site I mentioned, Gnome Art is this: > http://art.gnome.org/backgrounds > > It is where some people come to get nice background images, and not > just Gnome users. For example, in my Windows PC at work I have a > background from this site. This isn't a place for advertisement. > So it would be good if pictures from this > site could be displayed with grub2. They are just normal pictures. > > In fact I think the site could be used as a test resource for the > grub2 background image feature, as it has images created by various > people in various sizes and with various cameras and software > packages. > > > =20 >>> There is a file grub-core/video/readers/jpeg.c. It has plenty of debu= g >>> statements like: >>> "grub_error (GRUB_ERR_BAD_FILE_TYPE, "jpeg: huffman decode fails"= ); >>> >>> Is there some easy way to read the text of these messages? (I have no= >>> JTAG and my hardware does not support virtualization). >>> >>> >>> =20 >> They aren't debug messages but error messages which are shown if you >> call background_image manually. >> =20 > By loading the image files manually on the command line I got this > error message for both problem files: > "jpeg: invalid 0xFF in data stream" > > =20 This is very insightful. The issue is because of optional (and useless) padding in jpeg. I know how to fix it but is too tired right now (admiring beauties of my country takes sometimes effort) > This comes from jpeg.c, line 124. > > I have created a bug report as you requested, unfortunately I could > not attach the said files as they exceed the site limit. If you want I > can email the files to you or upload to some temporary place of your > choice. (The file sizes are 2.1 Mb and 577 Kb). > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigC242B090C4F8656A493F9C4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAkynr3oACgkQNak7dOguQglqMgD/Qaf3KZGsfhqD6KaIYG5CPo4+ EI057XhUtQkNHJlrMrsBALTcbqGPN7eERzSwLEjEfrFIQmC+CVoXsLZOvE8CAWjE =7fzA -----END PGP SIGNATURE----- --------------enigC242B090C4F8656A493F9C4D--