List Info

Thread: convert TGA to PNG problem




convert TGA to PNG problem
user name
2006-07-10 20:28:48
Hello,

I am having a problem converting 24 bit TGA images to PNG
using
imagemagick 'convert', version 6.2.7 .

Using the following command:

convert image.tga image.png

This produces four png files named:

image-0.png
image-1.png
image-2.png
image-3.png

The first image is a png with a rendering of the original
tga file but there is horizontal striping where colors end
and black begins.

The last three images are valid png images but are all
black.

Am I missing a switch or is TGA to PNG conversion broken?

Thanks for any insights,

P


_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
convert TGA to PNG problem
user name
2006-07-10 20:42:59
Quoting p.willistelus.net:

> 
> Hello,
> 
> I am having a problem converting 24 bit TGA images to
PNG using
> imagemagick 'convert', version 6.2.7 .
> 
> Using the following command:
> 
> convert image.tga image.png
> 
> This produces four png files named:
> 
> image-0.png
> image-1.png
> image-2.png
> image-3.png
> 
> The first image is a png with a rendering of the
original
> tga file but there is horizontal striping where colors
end and black begins.
> 
> The last three images are valid png images but are all
black.
> 
> Am I missing a switch or is TGA to PNG conversion
broken?
> 
> Thanks for any insights,
> 
> P

As an addendum to this I would like to add that using the
flag:

-depth 24

improves the output somewhat. The first of the 4 output
files (image-0.png) is rendered correctly. 

I still get 4 files numbered from 0-4.
The last three files remain black.

P

_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )