Will pay $$Convert an eps vector graphic to a rasterized eps
Will pay $$Convert an eps vector graphic to a rasterized eps
I am trying to convert a jpg to a rasterized EPS and add an AdobeRGB1998,icc profile. I have tried -compress none , taint etc... and have not been succesful. I will pay $$$$ for a solution this week. Contact at wlocker@gannett.com
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Will pay $$Convert an eps vector graphic to a rasterized
The forum for consulting is viewforum.php?f=24
The command would be something like:
However, this doesn't embed the profile. I don't know if this is a limitation of eps format or IM.
You can convert the image to the required profile:
This converts the pixel values. Again, it doesn't embed the profile.
If the icc files aren't in your current directory, you need to supply the full paths.
The command would be something like:
Code: Select all
convert in.jpg -profile AbobeRGB1998.icc out.eps
You can convert the image to the required profile:
Code: Select all
convert in.jpg -profile sRGB.icc -profile AbobeRGB1998.icc out.eps
If the icc files aren't in your current directory, you need to supply the full paths.
snibgo's IM pages: im.snibgo.com
Re: Will pay $$Convert an eps vector graphic to a rasterized
The profile I got , but the issue is that when it create the eps it is a vector (non - rasterized and it needs to be rasterized
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Will pay $$Convert an eps vector graphic to a rasterized
Is it vector? I don't know much about EPS, but if I do ...
... and view x.eps in a text editor, I see a load of raster data.
What is your source file? If it is a vector format that IM passes directly to the EPS, so you may need to explicitly rasterise it first, eg:
Code: Select all
convert rose: x.eps
What is your source file? If it is a vector format that IM passes directly to the EPS, so you may need to explicitly rasterise it first, eg:
Code: Select all
convert infile miff:-| convert - x.eps
snibgo's IM pages: im.snibgo.com
Re: Will pay $$Convert an eps vector graphic to a rasterized
not sure what miff?
convert infile miff:-| convert - x.eps
convert infile miff:-| convert - x.eps
Re: Will pay $$Convert an eps vector graphic to a rasterized
this did not work
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Will pay $$Convert an eps vector graphic to a rasterized
Miff is ImageMagick's private file format. This shouldn't be needed if your image is raster. In the OP you said the input was jpeg. This is raster. IM won't vectorise it. Why do you think the EPS "needs to be rasterized"?
What version IM are you using, on what platform? You can put your input jpeg and output eps somewhere like dropbox.com and paste the links here.
What version IM are you using, on what platform? You can put your input jpeg and output eps somewhere like dropbox.com and paste the links here.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Will pay $$Convert an eps vector graphic to a rasterized
Like snibgo, I tried and was able to get a raster jpg inside an eps vector shell, but the profile did not show up. I am not sure if eps supports profiles on raster data inside a vector shell. At least it does not show in the IM verbose info. My temporary computer does not have EXIFTOOL, but perhaps snibgo can verify if that shows the profile.
I did this
That shows the profile embedded. Then I did
and get this information
Properties:
date:create: 2014-02-20T09:49:54-08:00
date:modify: 2014-02-20T09:49:54-08:00
ps:HiResBoundingBox: 128x128-0-0
ps:Level: Adobe-3.0 EPSF-3.0
signature: 90d632ed7e19d9fe1c869f4301431d254a0b26da59add4032932c61cca25b461
NOTE: If I open zelda3.jpg in PS and assign the AdobeRGB profile and save as eps, then it shows in the IM verbose information. So it would appear that either IM is just not showing that (but can be verified with EXIFTOOL) or there is a bug in IM. But I am on an older version of IM at 6.8.0.5 temporarily and cannot check with the current version.
I did this
Code: Select all
convert zelda3.jpg -strip -profile /fullpath2/AdobeRGB1998.icc tmp.jpg
Code: Select all
convert tmp.jpg /fullpath2/AdobeRGB1998.icc tmp.eps
Properties:
date:create: 2014-02-20T09:49:54-08:00
date:modify: 2014-02-20T09:49:54-08:00
ps:HiResBoundingBox: 128x128-0-0
ps:Level: Adobe-3.0 EPSF-3.0
signature: 90d632ed7e19d9fe1c869f4301431d254a0b26da59add4032932c61cca25b461
NOTE: If I open zelda3.jpg in PS and assign the AdobeRGB profile and save as eps, then it shows in the IM verbose information. So it would appear that either IM is just not showing that (but can be verified with EXIFTOOL) or there is a bug in IM. But I am on an older version of IM at 6.8.0.5 temporarily and cannot check with the current version.
Re: Will pay $$Convert an eps vector graphic to a rasterized
so if you open the eps in photoshop, does it prompt for you to rasterize?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Will pay $$Convert an eps vector graphic to a rasterized
The one I created in PS does not. The one I created in IM does.wlocker wrote:so if you open the eps in photoshop, does it prompt for you to rasterize?
The PS created file has more meta data and has tiff arguments:
Code: Select all
Properties:
date:create: 2014-02-20T11:13:11-08:00
date:modify: 2014-02-20T11:13:11-08:00
dc:format: image/epsf
exif:ColorSpace: 4294967295
exif:PixelXDimension: 128
exif:PixelYDimension: 128
photoshop:History:
ps:HiResBoundingBox: 128x128+0+0
ps:Level: Adobe-3.0 EPSF-3.0
signature: 1a0161ee342c39cbb4675b6eddc5dba866cceb7dcc654e0a65226d2f8ecd2437
tiff:XResolution: 72/1
tiff:YResolution: 72/1
xap:CreateDate: 2014-02-20T11:06:51-08:00
xap:CreatorTool: Adobe Photoshop CS Macintosh
xap:MetadataDate: 2014-02-20T11:06:51-08:00
xap:ModifyDate: 2014-02-20T11:06:51-08:00
xapMM:DocumentID: adobe:docid:photoshop:4e1a1c0d-9bb1-11e3-814c-e1084bb317d7
Profiles:
Profile-8bim: 9484 bytes
Profile-exif: 302 bytes
Profile-icc: 560 bytes
Description: Adobe RGB (1998)
Manufacturer: Adobe RGB (1998)
Model: Adobe RGB (1998)
Copyright: Copyright 1999 Adobe Systems Incorporated
Profile-xmp: 6117 bytes
The IM created image (even adding EPSF:tmp.eps) does not include all that (tiff and exif pixel-related meta data). Perhaps PS is converting to tiff before wrapping in eps, so I tried that in IM with no success.
Code: Select all
Properties:
date:create: 2014-02-20T11:14:58-08:00
date:modify: 2014-02-20T11:14:58-08:00
ps:HiResBoundingBox: 128x128-0-0
ps:Level: Adobe-3.0 EPSF-3.0
signature: ce64264e0fbfa3270637de082b7b1f57cffb45ec4624327adc9f7009d7c00689
But note I am testing with IM 6.8.0.5 (not current), so it needs to be checked with a current version of IM.
This probably should be redirected to the Developers or Bugs forum to get a proper test and answer.