Author Topic: Different formats within the same extension ? Ones accepted for GRUB2 ?  (Read 3829 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
(Sorry if this is the wrong section, I think I never posted in the Computer section before so I don't know at all how it is organized).

So I have a dual-boot on my PC, and GRUB2 between the two OSes.
I found GRUB2 quite ugly so I wanted to customize it a bit. I downloaded a theme for GRUB2, applied it, and found it ugly too. So I thought about modifying the components of that theme.

So it had a background.png image. "Self-explanatory name" I thought. So I basically replaced it with another png image I made with Paint.Net with the same dimensions and did "sudo update-grub". I rebooted, waiting for my new image to show up and... an error comes instead, saying something like "wrong format".
I thought the problem could come from Paint.Net so I did the same with a png image from Gimp. Still the same error.
I thought that the initial png maybe was special so I tried a jpg from Gimp. Another error (don't recall it exactly).
For some reason I tried with a jpg image from Paint.Net. It worked.

So dafuq is happening ? Is there format differences within the same extension (I can think of compression but what more ?) ? Which extension+format should I use to produce GRUB2-compatible images (Paint.Net jpg works, but has no transparency) ? In other words, which software should I use to produce a GRUB2-compatible png ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Different formats within the same extension ? Ones accepted for GRUB2 ?
« Reply #1 on: September 19, 2013, 07:29:38 pm »
I never really had much luck with modifying grub myself, but have you tried a tool like SBM?

If you're going for style, burg isn't half-bad either ;)  Same thing as grub, but with icons.
http://code.google.com/p/burg
« Last Edit: September 19, 2013, 07:29:48 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Different formats within the same extension ? Ones accepted for GRUB2 ?
« Reply #2 on: September 19, 2013, 07:36:07 pm »
I know you have almost complete control of an image if you use Imagemagick's convert tool.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Different formats within the same extension ? Ones accepted for GRUB2 ?
« Reply #3 on: September 20, 2013, 08:53:45 am »
I never really had much luck with modifying grub myself, but have you tried a tool like SBM?

If you're going for style, burg isn't half-bad either ;)  Same thing as grub, but with icons.
http://code.google.com/p/burg
I didn't try SBM but I tried Grub Customizer and it didn't work.
And I didn't know about burg. GRUB2 also supports icons but burg (from Google images) doesn't seem bad at all.

I know you have almost complete control of an image if you use Imagemagick's convert tool.
I had bad experiences with that tool on Windows. I don't know how well it works on Linux but I don't trust it anymore.

@all, in fact pngs produced with GIMP work if they are edited working-pngs and not new pngs. I attached a photo if you want to know how it looks like now.
« Last Edit: September 20, 2013, 12:48:07 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s