[magick-users] exporting psd layers

Anthony Thyssen anthony at griffith.edu.au
Mon Jun 16 19:07:02 PDT 2008


Jacky J on  wrote...
| So i would use image.psd[0], but the output has this white halo around 
| the image.  It's as if it's flattening it with this imaginary white 
| background and blending it with the alpha around the edges. The psd i'm 
| using is just one layer with alpha.
| image.psd[1] would work perfect if it just kept the size the same. It's 
| very strange.
| 
Sounds like you are lossing transparency..  Not suprising.  PSD can have
transparency, but JPEG can't.

Try this to replace transparency with white...

    convert image.psd'[0]' -background white -flatten image.jpg

  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
    May a thousand camels spit in your keyboard!      
                                         -- Anthony Thyssen (no offence)
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list