Hello ASRI éducation & mikeb
Sorry i haven't responed sooner but i have also been trying to figure out this problem.
I can confirm ASRI éducation's findings,
in so much as GIMP 2.8.4 also appears to be 'mangling' jpg images.
I loaded up a copy of back-mike-ok.jpg (after verifying it worked in a GRUB gfxmenu file)
then exported it as a jpg with a different name, at which point it became corrupted
and i could not get it to work in a GRUB gfxmenu file.
This behaviour does not happen when i use GIMP 2.6.10
Another workaround to fixing these 'corrupted images',
is to open them up using mtpaint
and the use Save As to either overwrite it or save it with another name.
That does something which allows the image to display OK in a GRUB gfxmenu file.
CatDude
.
Message files for the GRUB gfxmenu
Is this problem anything to do with palette depth or indexing perhaps? When I was playing around with boot images it seemed that the image parameters were restricted in some ways and I think I recall having to use irfanview on windows to (possibly) reduce colour depth or something (didn't know how to use Gimp or mtPaint properly). Sorry I can't remember much more...
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I will perform complementary tests, but at first sight, I do not think the color is decisive.greengeek wrote:Is this problem anything to do with palette depth or indexing perhaps? When I was playing around with boot images it seemed that the image parameters were restricted in some ways and I think I recall having to use irfanview on windows to (possibly) reduce colour depth or something (didn't know how to use Gimp or mtPaint properly). Sorry I can't remember much more...
It's a difference with the Splash image method (cf. HOWTO add splash image to grub).
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I followed the advice CatDude. That's ok, I have an image compatible with the gfxmenu!
I want to say how I did it to create compatible files back.jpg for grub-gfxmenu (it might be useful to other users).
Steps for creating the image
1 - Gimp
Creating a project: 1600x200 image 300x300 ppi, 24b RGB color (sRGB). Note: The project is created with a size and a resolution larger than the file that will be used for gfxmenu, it is always better to have a good matrix, then it is sufficient to reduce the image in the desired size .
At the end, save the project in Gimp format (.xcf) and in jpg format (which will be used to create back.jpg file).
Reduce the size and resolution of the jpg file created => Image | Scale image (800x600 size, resolution 72x72 ppi).
Characteristics of the final image back.jpg
Format: jpg
Size: 800x600 pixels or more large
Colors: 24b RGB color (sRGB)
Resolution: 72x72 ppi
Recording quality: 100%
2 - Remove metadata
In terminal "exiv2 rm /my_folder/my_image.jpg"
3 - mtpaint (workaround with Gimp 2.8.2/4)
Open the image with mtpaint, then save it under the name "pupsat1".
4 - Creation of file pupsta1
Test the image (back.jpg) by creating a pupsta1 file. => All is ok.
Cordialement,
I want to say how I did it to create compatible files back.jpg for grub-gfxmenu (it might be useful to other users).
Steps for creating the image
1 - Gimp
Creating a project: 1600x200 image 300x300 ppi, 24b RGB color (sRGB). Note: The project is created with a size and a resolution larger than the file that will be used for gfxmenu, it is always better to have a good matrix, then it is sufficient to reduce the image in the desired size .
At the end, save the project in Gimp format (.xcf) and in jpg format (which will be used to create back.jpg file).
Reduce the size and resolution of the jpg file created => Image | Scale image (800x600 size, resolution 72x72 ppi).
Characteristics of the final image back.jpg
Format: jpg
Size: 800x600 pixels or more large
Colors: 24b RGB color (sRGB)
Resolution: 72x72 ppi
Recording quality: 100%
2 - Remove metadata
In terminal "exiv2 rm /my_folder/my_image.jpg"
3 - mtpaint (workaround with Gimp 2.8.2/4)
Open the image with mtpaint, then save it under the name "pupsat1".
4 - Creation of file pupsta1
Test the image (back.jpg) by creating a pupsta1 file. => All is ok.
Cordialement,
- Attachments
-
- asrimenu_20130813.png
- (98.06 KiB) Downloaded 2996 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
The result of a team effort.mikeb wrote:More glorious workarounds...
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Hi mikeb. Would you be so kind to explain this to dumb a$$ noob like me? It seems like that this utility by smokey01 & CatDude (hi there dude!) doesn't work with grub4dos.mikeb wrote:Ok got here at last....
For grub4dos users the main point is to use version 4.4 which includes gfxmenu support. (and 256 inode and ext4 but not for the partition grldr is on).
The actual splash file is built in exactly the same way as normal grub.
Simply add
gfxmenu /path/to/splashfile
to your menu.lst
and enjoy....now to try and be artistic and get some graphics posted
mike
Thank you.All of the above relates to Legacy GRUB. Grub4Dos can also use these gfxmenu files, so it may be easier to edit whatever script it (Grub4Dos) uses to create the menu.lst and add a similar line to it.
P.S. Blame CatDude, he's the one who said:
So if anybody has any questions concerning it, please direct them to the grub4dos expert Mr mikeb
EDIT: Due to a forum quirkiness these days, all the correspondence between mr. mikeb and yours truly, was carried out via PM. Case closed!
Thank you very much, sire.
Ok forum quirks indeed.
Here is a screenshot I made which might make it easier to see what needs to be done than a pile of words.
Mike
Here is a screenshot I made which might make it easier to see what needs to be done than a pile of words.
Mike
- Attachments
-
- splash.png
- (81.15 KiB) Downloaded 290 times