Page 2 of 3

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T11:57:14-07:00
by magick
We can't download either of the URL's you posted.

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T12:03:45-07:00
by kanwar_daman

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T12:07:24-07:00
by magick
The image you posted has a transparent background. Isn't that what you wanted?

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T12:12:52-07:00
by kanwar_daman
Really, it shows as not transparent in the adobeImage ready

check this out

C:\Documents and Settings\kdaman\My Documents\My Pictures\Latest_output_jpgs>identify -verbose CPK_AI_CS2_ai_logo.eps
Image: CPK_AI_CS2_ai_logo.eps
Format: PS (PostScript)
Class: DirectClass
Geometry: 900x705+0+0
Resolution: 72x72
Print size: 12.5x9.79167
Units: Undefined
Type: Bilevel
Base type: Bilevel
Endianess: Undefined
Colorspace: RGB
Depth: 16/1-bit
Channel depth:
gray: 1-bit
alpha: 1-bit
Channel statistics:
gray:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
alpha:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Alpha: rgba(255,255,255,0) #FFFFFFFFFFFF0000
Histogram:
634500: (65535,65535,65535, 0) #FFFFFFFFFFFF0000 rgba(255,255,255,0)
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Page geometry: 900x705+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
create-date: 2009-06-16T19:12:02+00:00
modify-date: 2009-06-16T19:12:02+00:00
ps:HiResBoundingBox: 900x705+0+0
ps:Level: Adobe-3.0 EPSF-3.0

signature: 3c613ab790f1465c8dfc93de9705a0e0a3f39057b3561efcec0240a41a70ce63
Artifacts:
verbose: true
Tainted: False
Filesize: 4.03kb
Number pixels: 620kb
Version: ImageMagick 6.5.0-1 2009-03-14 Q16 OpenMP http://www.imagemagick.org

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T12:37:36-07:00
by magick
We don't have AdobeReady. We follow the published standard and use Ghostscript to verify the image is transparent.

Last advice. Try -compress rle on your command line.

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T12:44:36-07:00
by kanwar_daman
i did what you said, and here is the url of the file generated

http://208.77.236.124:8080/idp/images2/new_rle.jpg

Please rename to eps.

How do you verify it is transparent with GhostScript??

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-16T13:25:39-07:00
by magick
This shows your image has an alpha channel:
  • -> identify -verbose http://208.77.236.124:8080/idp/images2/new_rle.jpg
    Image: /tmp/magick-XXYwLHqx
    Base filename: new_rle.jpg
    Format: PS (PostScript)
    Class: DirectClass
    Geometry: 900x705+0+0
    Resolution: 72x72
    Print size: 12.5x9.79167
    Units: Undefined
    Type: GrayscaleMatte
    Base type: GrayscaleMatte
    Endianess: Undefined
    Colorspace: RGB
    Depth: 16/8-bit
    Channel depth:
    gray: 8-bit
    alpha: 1-bit
    Channel statistics:
    gray:
    min: 0 (0)
    max: 65535 (1)
    mean: 53565.1 (0.817351)
    standard deviation: 24806.5 (0.378523)
    kurtosis: 0.719645
    skewness: -1.63381
    alpha:
    min: 0 (0)
    max: 65535 (1)
    mean: 12848.1 (0.196049)
    standard deviation: 26017.8 (0.397006)
    kurtosis: 0.344626
    ...

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-17T17:22:26-07:00
by kanwar_daman
But then why the tranaparency is not showing up.
This is the most critical part of the project, the project will be cancelled if this is not solved.

Please help

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-17T18:16:30-07:00
by magick
Perhaps the problem is with AdobeReady. If you can prove ImageMagick is not producing an alpha mask or it is violating the published PDF standard we will investigate. Our current analysis is that ImageMagick is producing a proper alpha mask. Try downloading ImageMagick 6.5.3-8. We did make one patch to the alpha mask code. We removed JPEG compression for masks since JPEG does not support the required 1-bit mask that PDF demands.

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-18T11:55:14-07:00
by kanwar_daman
Guys,
I got A reply from the client, i gave them the .ai files which were created using the ImageMagic,
and it seems like the .ai files which are created using "convert" are not vector files.

Is this a bug or something?

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-18T12:03:54-07:00
by magick
ImageMagick is an image processing package. It turns vector formats such as Postscript, PDF, and SVG into image pixels.

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-18T12:05:17-07:00
by kanwar_daman
But i was hoping it could create vector image from a jpg image pixels
So it cant do that?

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-18T12:28:30-07:00
by magick
Hopes and aspirations won't change the fact that ImageMagick is an image processing package, not a vector processing package.

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-18T12:38:45-07:00
by kanwar_daman
Well said :)

Do you know any vector processing package which is out there, which can help me create Vector images from jpg images. I need to hook it up with my Java App.

Re: Problem creating a transparent eps file from a black and whi

Posted: 2009-06-18T12:47:32-07:00
by magick
Look for autotrace. Other free vector processing packages are xfig and inkscape. Perhaps Anthony or Fred can make additional suggestions.