Why only PNG

General discussions about Inkscape.
sheep
Posts: 6
Joined: Wed Dec 19, 2007 3:18 am

Why only PNG

Postby sheep » Mon Jun 09, 2008 10:37 pm

Why Inkscape exports only png as raster graphic? Why it doesn't support BMP, JPG, GIF and other popular formats?

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: Why only PNG

Postby heathenx » Mon Jun 09, 2008 11:06 pm

I'm no format expert and don't want to be flamed but I have to say that png, in the case of Inkscape, is definitely the superior format. Png is lossless (meaning that you can save it over and over without degrading the file) and is better suited for vector artwork. Jpeg is lossy. Great for photographs but not so great for artwork. I believe png was originated as a replacement to gif. Except for animations, I'm not sure what else gif's are good for. Maybe someone else can answer that one. As far as bmp, well, I just stay the heck away from that format. ;)

Nevertheless, if you need to get your png's into other formats then there are a bazillion free tools out there (Irfanview, Gimp, Imagemagick, Kim) that will convert them for you.

sheep
Posts: 6
Joined: Wed Dec 19, 2007 3:18 am

Re: Why only PNG

Postby sheep » Mon Jun 09, 2008 11:24 pm

I agree with You about PNG. But sometimes I need to have JPG or other format. In my opinion exporting to PNG and then converting it do desired format is wasting of time (especially when You export many graphics).

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: Why only PNG

Postby heathenx » Mon Jun 09, 2008 11:29 pm

Well, fair enough, but converting multiple files isn't difficult...even if you have hundreds of png files. An Imagemagick script can do this for you no matter which operating system that you are using.

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Why only PNG

Postby aho » Tue Jun 10, 2008 12:48 am

>An Imagemagick script[...]

No script needed. ;)

mogrify -format jpg *.png
(converts all png files to jpg)

Inkscape will surely support other formats in the future. PNG was implemented first because it's the most useful/sensible one.

sheep
Posts: 6
Joined: Wed Dec 19, 2007 3:18 am

Re: Why only PNG

Postby sheep » Tue Jun 10, 2008 1:05 am

Batch conversion isn't a problem :)
aho wrote:Inkscape will surely support other formats in the future. PNG was implemented first because it's the most useful/sensible one.

Great. I can't wait.

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: Why only PNG

Postby heathenx » Tue Jun 10, 2008 1:13 am

@aho

"mogrify -format jpg *.png" is exactly what I meant when I mentioned an Imagemagick script. ;)

Simarilius
Posts: 626
Joined: Wed Jun 06, 2007 2:37 am

Re: Why only PNG

Postby Simarilius » Sat Jun 14, 2008 7:47 am

aho wrote:Inkscape will surely support other formats in the future. PNG was implemented first because it's the most useful/sensible one.


Actually it already does, I coded it in the 0.46 stage, just didnt have time to add it to the export dialog.
gotta try and get round to this some time soon...

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: Why only PNG

Postby heathenx » Sun Jun 15, 2008 1:45 am

Ahh...just put it in 0.46.5 and release that version as stable and you'll be forgiven. :D

User avatar
tw2113
Posts: 21
Joined: Thu Mar 13, 2008 2:50 pm
Location: South Dakota
Contact:

Re: Why only PNG

Postby tw2113 » Sun Jul 06, 2008 4:34 pm

I think it might be because png's are open source as well.

SureWhyNot
Posts: 137
Joined: Mon Jun 16, 2008 11:37 pm
Location: United States

Re: Why only PNG

Postby SureWhyNot » Mon Jul 07, 2008 12:37 am

Pffft, you geeks and your command lines... :roll:

How you use those arcane things? :?:

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Why only PNG

Postby microUgly » Mon Jul 07, 2008 7:28 am

SureWhyNot wrote:Pffft, you geeks and your command lines... :roll:

How you use those arcane things? :?:

If you don't like command lines, there are hundreds of GUI applications that can convert image formats easily.

SureWhyNot
Posts: 137
Joined: Mon Jun 16, 2008 11:37 pm
Location: United States

Re: Why only PNG

Postby SureWhyNot » Mon Jul 07, 2008 2:11 pm

But how many of them can handle a batch?

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Why only PNG

Postby microUgly » Mon Jul 07, 2008 2:33 pm

SureWhyNot wrote:But how many of them can handle a batch?

I should think many do. But it's not like I maintain a collection of them them myself :) I have one,Directory Opus, and that's enough. But it is commercial software so and image conversion is not it's primary function--it just happens to include it as a features--so I doubt many here would favor it.

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Why only PNG

Postby aho » Mon Jul 07, 2008 4:47 pm

Irfanview for example supports batch conversion (hit 'b').

zilli
Posts: 13
Joined: Tue May 13, 2008 5:49 pm

Re: Why only PNG

Postby zilli » Mon Jul 21, 2008 11:20 pm

gif and jpeg are proprietary format.
png is a free format.. and recommend by W3C.

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Why only PNG

Postby sas » Mon Jul 21, 2008 11:55 pm

zilli wrote:gif and jpeg are proprietary format.

GIF is free now that the LZW patents have expired. JPEG in its commonly used forms is also free.


Return to “General Discussions”