Hi All,

Sorry what I have is a png image which is the result of a montage of all 
kinds of smaller png's. The background in my montage'd image is black. I 
now want to convert that to an rgba representation where all of the 
background is (which is black) so all black pixels to be transparent.

Thanks for your help.
Chris

Fred Weinhaus wrote:
> Several problems:
>
> 1) you have not defined an image - need to add xc:somecolor or an image name
> 2) space between - and transparent and between - and matte
> 3) -depth should be at end
> 4) jpg does not allow transparency - use png
>
>
> convert -size 512x512 xc:none -depth 8 output.png
> will make a completely transparent image
>
> convert input.png -transparent black -depth 8 output.png
> will make all black pixels transparent in the input image
>
> What exactly are you trying to create? Please describe what your 
> image should look like.
>
>
> To verify the image do
>
> identify -verbose output.png
>
> or
>
> convert output.png -verbose info:
>
> that will list all the image properties
>
>
>
>
>   
>> Hi All,
>>
>> Firstly let me say thank you very much for all help provided thus far. I
>> am still seeing something kind of strange.
>>
>> When I perform a convert.
>> convert -depth 8 -size 512x512 - transparent black - matte demo.jpg
>> demo.rgba.
>>
>> My Icons seem to be appearing completely transparent for some reason.
>>
>> 1. What's the best way to verify my rgba file
>> 2. I looked at the properties of the file which said it was 32x32 which
>> kind of struct me as odd as I suspected it would be at the very least
>> 64x64 or 512x512...
>> 3. I suspect the problem with my images being transparent is my alpha
>> values are messed up. I was wondering if anyone could know why/how I can
>> check this.
>>
>> Thanks,
>>
>> Cheers
>> Chris
>>     
> _______________________________________________
> Magick-users mailing list
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
>
>   
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to