CMYK EPS to Transparent Tiff (CMYK)
Posted: 2014-07-08T09:04:10-07:00
Hi everyone, first post so please be kind :3
I have a EPS (CMYK) that I need to convert into a transparent TIFF (also in CMYK). Reason being is that the I'm using TCPDF library to output PDFs for print and if I have a transparent image it can't be turned into a jpeg (that's another story).
So yeah, I have an eps that spits out the following for identify:
Image: transparent.eps
Format: EPT (Encapsulated PostScript with TIFF preview)
Class: DirectClass
Geometry: 1348x913+0+0
Resolution: 72x72
Print size: 18.7222x12.6806
Units: Undefined
Type: ColorSeparation
Base type: ColorSeparation
Endianess: Undefined
Colorspace: CMYK
Depth: 16/8-bit
Channel depth:
cyan: 8-bit
magenta: 8-bit
yellow: 8-bit
black: 1-bit
Channel statistics:
Cyan:
min: 0 (0)
max: 49601 (0.756863)
mean: 2078.8 (0.0317204)
standard deviation: 6695.16 (0.102162)
kurtosis: 16.3262
skewness: 3.96206
Magenta:
min: 0 (0)
max: 27756 (0.423529)
mean: 20.3863 (0.000311075)
standard deviation: 431.983 (0.00659163)
kurtosis: 1231.99
skewness: 31.1863
Yellow:
min: 0 (0)
max: 65535 (1)
mean: 2426.4 (0.0370245)
standard deviation: 8922.59 (0.13615)
kurtosis: 26.2352
skewness: 4.95562
Black:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 1131.4 (0.017264)
standard deviation: 5581.77 (0.0851723)
kurtosis: 60.8591
skewness: 7.40066
Total ink density: 164%
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: cmyk(223,223,223,0)
Matte color: grey74
Transparent color: black
Compose: Over
Page geometry: 1348x913+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
date:create: 2014-07-08T16:25:42+01:00
date:modify: 2014-07-08T16:25:43+01:00
dc:format: application/postscript
pdf:Producer: Adobe PDF library 9.90
ps:HiResBoundingBox: 1348x913+0+0
ps:Level: Adobe-3.0 EPSF-3.0
ps:SpotColor-0: procset Adobe_CoolType_Utility_T42 1.0 0
ps:SpotColor-1: procset Adobe_CoolType_Utility_MAKEOCF 1.23 0
ps:SpotColor-2: procset Adobe_CoolType_Core 2.31 0
ps:SpotColor-3: procset Adobe_AGM_Core 2.0 0
ps:SpotColor-4: procset Adobe_AGM_Utils 1.0 0
rdf:Alt:
signature: 9be41279272b4dfc22e50675c183a03c804a0b077c05741c9e9609f4ebc047a4
stDim:h: 296.999942
stDim:unit: Millimeters
stDim:w: 419.999513
stRef:documentID: xmp.did:a3b497b7-cf5f-af4b-a92e-62ba85d6c7c9
stRef:instanceID: xmp.iid:a3b497b7-cf5f-af4b-a92e-62ba85d6c7c9
stRef:originalDocumentID: uuid:ea15eeb8-0771-0546-871a-ae48af2517a1
stRef:renditionClass: proof:pdf
xmp:CreateDate: 2014-07-08T16:11:48+01:00
xmp:CreatorTool: Adobe Illustrator CC (Windows)
xmp:MetadataDate: 2014-07-08T16:11:49+01:00
xmp:ModifyDate: 2014-07-08T16:11:49+01:00
xmpMM:DocumentID: xmp.did:0bce9efc-ff70-1b4d-a6cd-cba23056c301
xmpMM:InstanceID: xmp.iid:0bce9efc-ff70-1b4d-a6cd-cba23056c301
xmpMM:OriginalDocumentID: uuid:ea15eeb8-0771-0546-871a-ae48af2517a1
xmpMM:RenditionClass: proof:pdf
xmpTPg:HasVisibleOverprint: False
xmpTPg:HasVisibleTransparency: False
xmpTPg:NPages: 1
Profiles:
Profile-xmp: 46073 bytes
Artifacts:
verbose: true
Tainted: False
Filesize: 4.923MB
Number pixels: 1.231M
Pixels per second: 53.51M
User time: 0.031u
Elapsed time: 0:01.023
Version: ImageMagick 6.6.3-8 2010-08-16 Q16 http://www.imagemagick.org
--------------------
Here I see that the transparent background is "black", so I create a convert function as below:
convert -density 300 transparent.eps -colorspace cmyk -transparent black -alpha on test11.tiff
So thinking that it should turn all the 'black' into transparent. However, the EPS has white clipping area grouped with the other colours... this turns transparent as well when it shouldn't. So I get transparency, but I lose all my white.
Is this a bug or have I missed out an option.
Here are my output file
http://www.filedropper.com/test11
and here is my expected output file
http://www.filedropper.com/test_118
I have a EPS (CMYK) that I need to convert into a transparent TIFF (also in CMYK). Reason being is that the I'm using TCPDF library to output PDFs for print and if I have a transparent image it can't be turned into a jpeg (that's another story).
So yeah, I have an eps that spits out the following for identify:
Image: transparent.eps
Format: EPT (Encapsulated PostScript with TIFF preview)
Class: DirectClass
Geometry: 1348x913+0+0
Resolution: 72x72
Print size: 18.7222x12.6806
Units: Undefined
Type: ColorSeparation
Base type: ColorSeparation
Endianess: Undefined
Colorspace: CMYK
Depth: 16/8-bit
Channel depth:
cyan: 8-bit
magenta: 8-bit
yellow: 8-bit
black: 1-bit
Channel statistics:
Cyan:
min: 0 (0)
max: 49601 (0.756863)
mean: 2078.8 (0.0317204)
standard deviation: 6695.16 (0.102162)
kurtosis: 16.3262
skewness: 3.96206
Magenta:
min: 0 (0)
max: 27756 (0.423529)
mean: 20.3863 (0.000311075)
standard deviation: 431.983 (0.00659163)
kurtosis: 1231.99
skewness: 31.1863
Yellow:
min: 0 (0)
max: 65535 (1)
mean: 2426.4 (0.0370245)
standard deviation: 8922.59 (0.13615)
kurtosis: 26.2352
skewness: 4.95562
Black:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 1131.4 (0.017264)
standard deviation: 5581.77 (0.0851723)
kurtosis: 60.8591
skewness: 7.40066
Total ink density: 164%
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: cmyk(223,223,223,0)
Matte color: grey74
Transparent color: black
Compose: Over
Page geometry: 1348x913+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
date:create: 2014-07-08T16:25:42+01:00
date:modify: 2014-07-08T16:25:43+01:00
dc:format: application/postscript
pdf:Producer: Adobe PDF library 9.90
ps:HiResBoundingBox: 1348x913+0+0
ps:Level: Adobe-3.0 EPSF-3.0
ps:SpotColor-0: procset Adobe_CoolType_Utility_T42 1.0 0
ps:SpotColor-1: procset Adobe_CoolType_Utility_MAKEOCF 1.23 0
ps:SpotColor-2: procset Adobe_CoolType_Core 2.31 0
ps:SpotColor-3: procset Adobe_AGM_Core 2.0 0
ps:SpotColor-4: procset Adobe_AGM_Utils 1.0 0
rdf:Alt:
signature: 9be41279272b4dfc22e50675c183a03c804a0b077c05741c9e9609f4ebc047a4
stDim:h: 296.999942
stDim:unit: Millimeters
stDim:w: 419.999513
stRef:documentID: xmp.did:a3b497b7-cf5f-af4b-a92e-62ba85d6c7c9
stRef:instanceID: xmp.iid:a3b497b7-cf5f-af4b-a92e-62ba85d6c7c9
stRef:originalDocumentID: uuid:ea15eeb8-0771-0546-871a-ae48af2517a1
stRef:renditionClass: proof:pdf
xmp:CreateDate: 2014-07-08T16:11:48+01:00
xmp:CreatorTool: Adobe Illustrator CC (Windows)
xmp:MetadataDate: 2014-07-08T16:11:49+01:00
xmp:ModifyDate: 2014-07-08T16:11:49+01:00
xmpMM:DocumentID: xmp.did:0bce9efc-ff70-1b4d-a6cd-cba23056c301
xmpMM:InstanceID: xmp.iid:0bce9efc-ff70-1b4d-a6cd-cba23056c301
xmpMM:OriginalDocumentID: uuid:ea15eeb8-0771-0546-871a-ae48af2517a1
xmpMM:RenditionClass: proof:pdf
xmpTPg:HasVisibleOverprint: False
xmpTPg:HasVisibleTransparency: False
xmpTPg:NPages: 1
Profiles:
Profile-xmp: 46073 bytes
Artifacts:
verbose: true
Tainted: False
Filesize: 4.923MB
Number pixels: 1.231M
Pixels per second: 53.51M
User time: 0.031u
Elapsed time: 0:01.023
Version: ImageMagick 6.6.3-8 2010-08-16 Q16 http://www.imagemagick.org
--------------------
Here I see that the transparent background is "black", so I create a convert function as below:
convert -density 300 transparent.eps -colorspace cmyk -transparent black -alpha on test11.tiff
So thinking that it should turn all the 'black' into transparent. However, the EPS has white clipping area grouped with the other colours... this turns transparent as well when it shouldn't. So I get transparency, but I lose all my white.
Is this a bug or have I missed out an option.
Here are my output file
http://www.filedropper.com/test11
and here is my expected output file
http://www.filedropper.com/test_118