Yes, it works fine for me. I am using IM 6.7.2.1 Q16 HDRI Mac OSX Tiger with Ghostscript 9.02.

Both the following work fine, keeping the transparency. (However, opening it in Mac PREVIEW on my old G4 Mac mini Tiger does not show the transparency for the pdf. But does show it for the png results.)

convert pdf_with_transparency.pdf pdf_with_transparency.png

and

convert pdf_with_transparency.pdf -depth 16 pdf_with_transparency2.png

However, I note your input image is 16-bits:

- Code: Select all
`Image: pdf_with_transparency.pdf`

Format: PDF (Portable Document Format)

Class: DirectClass

Geometry: 3226x2592+0+0

Resolution: 72x72

Print size: 44.8056x36

Units: Undefined

Type: PaletteMatte

Endianess: Undefined

Colorspace: RGB

Depth: 16/8-bit

Channel depth:

red: 8-bit

green: 8-bit

blue: 8-bit

alpha: 1-bit

Channel statistics:

Red:

min: 54227 (0.827451)

max: 65535 (1)

mean: 65520.2 (0.999775)

standard deviation: 407.437 (0.00621709)

kurtosis: 760.555

skewness: -27.6198

Green:

min: 7967 (0.121569)

max: 65535 (1)

mean: 65459.9 (0.998853)

standard deviation: 2074.33 (0.0316522)

kurtosis: 761.498

skewness: -27.621

Blue:

min: 16962 (0.258824)

max: 65535 (1)

mean: 65471.6 (0.999033)

standard deviation: 1750.22 (0.0267067)

kurtosis: 761.498

skewness: -27.621

Alpha:

min: 0 (0)

max: 65535 (1)

mean: 237.286 (0.00362075)

standard deviation: 3936.27 (0.0600637)

kurtosis: 271.189

skewness: -16.5284

And both convert commands seem to produce 8-bit results:

- Code: Select all
`Image: pdf_with_transparency2.png`

Format: PNG (Portable Network Graphics)

Class: DirectClass

Geometry: 3226x2592+0+0

Resolution: 72x72

Print size: 44.8056x36

Units: Undefined

Type: PaletteMatte

Endianess: Undefined

Colorspace: RGB

Depth: 8-bit

Channel depth:

red: 8-bit

green: 8-bit

blue: 8-bit

alpha: 1-bit

Channel statistics:

Red:

min: 211 (0.827451)

max: 255 (1)

mean: 254.943 (0.999775)

standard deviation: 1.58536 (0.00621709)

kurtosis: 760.555

skewness: -27.6198

Green:

min: 31 (0.121569)

max: 255 (1)

mean: 254.708 (0.998853)

standard deviation: 8.07131 (0.0316522)

kurtosis: 761.498

skewness: -27.621

Blue:

min: 66 (0.258824)

max: 255 (1)

mean: 254.753 (0.999033)

standard deviation: 6.81021 (0.0267067)

kurtosis: 761.498

skewness: -27.621

Alpha:

min: 0 (0)

max: 255 (1)

mean: 0.923293 (0.00362075)

standard deviation: 15.3162 (0.0600637)

kurtosis: 271.189

skewness: -16.5284

My delegates.xml file shows:

<delegate decode="

ps:alpha" stealth="True" command=""gsc" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "

-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>

as I mentioned above.