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

Re: xlock -imagefile



je n'utilise pas xv, et un essai de conversion bmp->ppm
avec bmptoppm s'étant révélé infructueux, 

{samuel@zoenyx : /tmp }$ file image.bmp 
image.bmp: PC bitmap data, Windows 3.x format, 504 x 436 x 8
{samuel@zoenyx : /tmp }$ bmptoppm image.bmp 
bmptoppm: Windows BMP, 504x436x8
bmptoppm: warning: offBits is 54, expected 1078
bmptoppm: image.bmp: internal error in readto()

j'ai utilisé convert [package imagemagick],

{samuel@zoenyx : /tmp }$ convert image.bmp image.xpm
{samuel@zoenyx : /tmp }$ file image.xpm 
image.xpm: X pixmap image text

et ça marche bien

peut-être que pour certaines images bmp "pas très propres",
vu qu'ici il ne s'agit pas d'une image 24 bit,
(hum les "standards" flottants de M$ :^)
la conversion vers xpm _via_ netpmb se passe mal et que c'est pour ça
que xlock ne le reconnait pas?...

autre hypothèse:tu as oublié d'installer la libxpm, mais ça m'étonnerait

-- 
Samuel Landau (ICQ:24249484)
page perso : <http://www.eleves.ens.fr/home/landau/>
membre de Parinux : <http://www.teaser.fr/~mmestre/parinux.html>


Reply to: