LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-15-2013, 06:13 AM   #1
williej
LQ Newbie
 
Registered: Jan 2008
Location: Wehr
Distribution: openSUSE
Posts: 9

Rep: Reputation: 0
Problem with imagemagick when using display to show images in .eps or tiff formats


Hello All,

I have an image in .eps format that i am using the command display to show, but it is not working. The image is shown but the background color is dark and not white. When i use display for the converted image to jpg it opens it on a white background. For png image the background is also not white, same for the tiff image. But when i use command gv foo.eps, the image is opening on a white background. I am not sure why this is happening? Is there something wrong with my imagemagick?

In case you want to have a look at the file it is attached. The version of linux i am using is openSUSE 12.1

Thanks!
Jimmy
Attached Thumbnails
Click image for larger version

Name:	foo.png
Views:	14
Size:	7.0 KB
ID:	11624  
 
Old 02-03-2013, 07:40 PM   #2
leehanken
LQ Newbie
 
Registered: Jan 2009
Posts: 14
Blog Entries: 1

Rep: Reputation: 7
It could be because the image has layers.

Try

Code:
display -flatten -background white foo.eps
 
1 members found this post helpful.
Old 02-07-2013, 05:29 AM   #3
williej
LQ Newbie
 
Registered: Jan 2008
Location: Wehr
Distribution: openSUSE
Posts: 9

Original Poster
Rep: Reputation: 0
Hello leehanken,

And thanks for your suggestion. It worked. Is there a way this can be permanently fixed? So i can avoid using the options in your suggestion?

Thanks!

Jimmy
 
Old 02-08-2013, 06:34 AM   #4
leehanken
LQ Newbie
 
Registered: Jan 2009
Posts: 14
Blog Entries: 1

Rep: Reputation: 7
Hi Jimmy

You could enter into the command line:

Code:
alias display='display -flatten -background white'
To make it permanent you could put this line in your shell's startup script

Typically in a file called .bashrc in your home directory

Regards Lee
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ImageMagick convert and eps Daravon Linux - Software 7 02-16-2012 04:06 PM
Converting color TIFF files to black and white with ImageMagick--HOW?? Tom Nichol Linux - Software 3 07-20-2009 03:35 PM
Firefox, How to display TIFF images? newtovanilla Linux - Newbie 7 12-30-2008 03:00 AM
CorelDraw gives poor TIFF with EPS ratep2001 Linux - Software 1 04-09-2005 04:47 PM
HELP! Viewing .TIFF Images ascii2k Linux - General 0 03-26-2001 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:05 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