LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2003, 11:34 AM   #1
Santorres
Member
 
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51

Rep: Reputation: 15
Can i create my own "xpm" images ?



I'd like to change the image displayed in the grub/lilo. I use RH 8.
Is there a way i can create my own xpm image? Will it support any other image format? If `yes` case, will the format affect its speed? Does the size is really important?

Thanks...

 
Old 12-09-2003, 12:01 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Don't know about fast/slow, however, you can open any image in gimp, then simply 'save as' and give it a .xpm filename. I can't imagine reading an image off the disk is going to be speed affecting.

R.O.
 
Old 12-09-2003, 12:39 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
(Probably quite un) Interesting point about speed. yes it does matter about file size. that is why the xpm files are gzipped. Believe it or not it is substantially quicker to read a small file of a disc and decompress it into memory than it is to read the full uncompressed xpm from disc. you won't be able to use different file types though. you will need to follow the strict file specifications to be able to use a replacement file, can't remember exactly, but it must have 14 colors and be the exact dimensions etc...
 
Old 11-26-2004, 03:15 PM   #4
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
I tried to modify an existing .xpm image for use in a window-manager theme. Gimp 2.0 appeared to do the job but then failed to save the file with the message "Plugin could not save image." So I tried saving it as .bmp and .jpg and that worked (after exporting the file for reasons of compatibility). I also tried making a NEW file of my own and saving it as .xpm and got the same result, "Plugin could not save image."

Went to Gimp site and the "plugin registry" page was unavailable.

Did extensive Google searching and could not find this exact problem.

Any ideas what may be wrong?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Folders with custom images" possible in KDE? SuperJar Linux - Software 2 11-30-2005 07:22 PM
"cannot exec `as': ..." AND "C compiler cannot create ..." pr3st0 Linux - Software 0 10-15-2004 12:42 PM
Problems burning ISO Images - error message "data does not match" Joe Bloggs Linux - Newbie 2 08-22-2004 09:28 PM
"Newspaper" Binary Images with Gimp kbcnetau Linux - Software 2 07-21-2004 07:31 PM
Site acting "funny" with certain images/links MasterC LQ Suggestions & Feedback 5 09-28-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration