I am trying to produce a binary representation of my input file where 
all black pixels are transparent.

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