LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-09-2007, 11:47 AM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
how do i convert to from gd2 (png, jpg)


Hello! I recall using a simple command line tool to convert between gd2 and either jpg or png formats, but I can seem to find it.

Can anybody point me in the right direction?

I need to modify a GD2 file, and since gimp won't open it, I need to convert to a graphic format, edit, and convert back...

Thanks!
 
Old 09-09-2007, 05:11 PM   #2
vatten
Member
 
Registered: Apr 2005
Posts: 30

Rep: Reputation: 15
I think imagemagick will do it, and also i belive that imagemagick provides convert then you only have to write in a terminal "convert image.gd2 image.png" and it's done (you may have to install gd2 libs)
 
Old 09-07-2009, 06:05 AM   #3
suchasplus
LQ Newbie
 
Registered: Jan 2007
Location: China,Beijing
Distribution: slackware, ubuntu, rhel
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by vatten View Post
I think imagemagick will do it, and also i belive that imagemagick provides convert then you only have to write in a terminal "convert image.gd2 image.png" and it's done (you may have to install gd2 libs)
I installed gd2 libs
but...

#: convert test.gd2 test.jpg
convert: no decode delegate for this image format `test.gd2'.
convert: missing an image filename `test.jpg'.

ENV: ubuntu hardy, apt-get install imagemagick
 
Old 09-18-2009, 02:40 PM   #4
ajz
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
sudo apt-get install libgd-tools

pngtogd2 <source.png> <dest.gd2> 1024 1
 
  


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
HELP! BASH - Convert filenames from dsc00***.jpg to *.jpg jimmybond01 Programming 9 05-08-2007 06:17 AM
Converting .png to .jpg GtkUser Linux - Software 9 04-17-2007 02:04 PM
convert image.png image.jpg changing colours MikeyCarter Linux - Software 1 11-17-2006 10:16 AM
Convert move frames (avi/dvi/etc) to images(png/jpg/etc) 3saul Linux - Software 1 03-05-2006 09:29 PM
pnp to png or jpg illtbagu Linux - Newbie 1 01-26-2003 03:08 PM

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

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