Jump to content











Photo
- - - - -

splashimage does not like my bitmap anymore


  • Please log in to reply
8 replies to this topic

#1 bnsmb

bnsmb
  • Members
  • 5 posts
  •  
    Germany

Posted 27 June 2017 - 07:01 PM

Hi

 

until recently I used grub4dos 0.4.4 2009-03-31 for booting my USB stick without problems. Recently I installed the version 0.4.6a 2017-06-18 because the find --set-root command in 0.4.4 did not like ext3 partitions.

 

Everything works fine now except that grub4dos does not show the configured splashimage anymore - instead there is only a blank screen if I add the statement

 

splashimage /tuxbsdxp.xpm.gz
 

to the menu.lst . The behaviour is the same if I use the uncomressed xpm file or if I try the splashimage command in the command line from grub4dos

 

The splashiimage command with this xpm file worked in 0.4.4 without problems...

 

I already tried this command

 

 

find --set-root /tuxbsdxp.xpm.gz && splashimage /tuxbsdxp.xpm.gz
 

and some other formats for the splashimage command but the result is always a blank screen.

 

The image itself is on the 1st partition on the USB stick which is formated with FAT.

 

Any hints how to resolv this issue are welcome

 

regards

Bernd

 



#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 27 June 2017 - 07:04 PM

I didn't know xpm was supported! https://github.com/c...4dos/issues/113

Why not just convert it to .jpg or .bmp?



#3 bnsmb

bnsmb
  • Members
  • 5 posts
  •  
    Germany

Posted 27 June 2017 - 07:23 PM

Hi

 

I already tested it with a .jpg file:

 

[root@t540p /data/download]# file /mnt/splash.jpg
/mnt/splash.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, Exif Standard: [TIFF image data, little-endian, direntries=7, orientation=upper-left, xresolution=98, yresolution=106, resolutionunit=2, software=GIMP 2.6.8, datetime=2011:11:16 11:55:15], baseline, precision 8, 640x480, frames 3
 

The behaviour is the same

 

regards

Bernd



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 27 June 2017 - 07:24 PM

Did you save jpg using MSPaint?

need to save as 100% quality and not as progressive jpg. (SOF2 not supported)



#5 bnsmb

bnsmb
  • Members
  • 5 posts
  •  
    Germany

Posted 27 June 2017 - 07:31 PM

HI

 

>>Did you save jpg using MSPaint?

>>need to save as 100% quality and not as progressive jpg. (SOF2 not supported)

 

I dot not use Windows; LInux only. And I did not create the xpm file neither the jpg file.

 

My point is: The files worked with 0.4.4 so I wonder why they do not work with 0.4.6 anymore. And I don't know how to debug this problem

 

It's not a big deal -- the main functionality of grub4dos works very well but I still want to have my background picture back :-)

 

regards

 

Bernd



#6 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 27 June 2017 - 07:50 PM

support for xpm was removed - see link I gave above.

You can use .bmp compressed using lzma gz or 100% quality jpg



#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 27 June 2017 - 08:49 PM

The 0.4.4 2009-03-31 has never been a "stable" release, the only 0.4.4 version that one should use is the 2009-10-16, but if it worked for you  (till now) that's good :).

 

Try a version 0.4.5c (or 0.4.6a) before or around 2015-08-07, and check if it supports the ext3 feature you need.

 

If you made it all these years with that old version, it means that you need not most of the recent additions, so maybe you can go on some more with a 2015 version that still supports xpm format.

 

But really you can convert the image using Imagemagick (that exists both for Windows and Linux):

http://www.imagemagi...cript/index.php

unlike the old xpm format (that had a numebr of limitations, 640x480, 14 colours, etc.) the bmp amd the jpeg format allow for higher resolution/size and more colours.

 

 

:duff:

Wonko



#8 bnsmb

bnsmb
  • Members
  • 5 posts
  •  
    Germany

Posted 28 June 2017 - 03:47 PM

Hi

 

thanks - I try jpeg and bmp then

 

I used xpm because in the tutorial at

 

http://diddy.boot-la...enu.htm#display

 

the example for splashimage is

 

splashimage=/splash.xpm.gz

 

regards

 

Bernd



#9 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 28 June 2017 - 04:25 PM

I used xpm because in the tutorial at

 

http://diddy.boot-la...enu.htm#display

 

the example for splashimage is

 

splashimage=/splash.xpm.gz

 

regards

 

Bernd

 

Sure :), but you have to take into account how that tutorial was written in 2009 (eight years ago), and it was written for grub4dos 0.4.4 even before the final version of the 0.4.4 series, the  2009-10-16, came out.

Versions up to 0.4.5c and 0.4.6a up to 2015-08-07 should still have compatibility with xpm versions.

Later versions don't, as per link Steve6375 posted.

 

:duff:

Wonko






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users