But you had no input image. Is your input binary already (thresholded)? Clarify or provide a link to your input image.
If all you want is to turn black to transparent in your input image, then convert input.suffix -transparent black -depth 8 output.png If your image is not binary and you want it to be binary (black and white) and black transparent, then convert input.suffix -threshold xx% -transparent black -depth 8 output.png for example; convert -size 100x100 gradient: -threshold 50% -transparent black -depth 8 tmp.png > >I am trying to produce a binary representation of my input file where >all black pixels are transparent. > >Chris > > > > > > > > > > > > >> 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
