grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jpeg image does not show in background


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: jpeg image does not show in background
Date: Sun, 03 Oct 2010 00:17:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6

On 10/02/2010 11:17 AM, Piscium wrote:
> 2010/10/1 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
>
>   
>> On 10/01/2010 08:55 PM, Piscium wrote:
>>     
>   
>>> The conclusion appears to be that the jpeg module in grub2 is very
>>> fussy about the files that it displays. Note there was nothing special
>>> 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.
>>>
>>>       
>   
>> It's not really "nothing particular". With pictures taken by my camera
>> it works fine.
>>     
> 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.
>
>
>   
>>> There is a file grub-core/video/readers/jpeg.c. It has plenty of debug
>>> 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).
>>>
>>>
>>>       
>> They aren't debug messages but error messages which are shown if you
>> call background_image manually.
>>     
> 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"
>
>   
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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]