Search found 75 matches

by indiego
2012-07-25T07:45:07-07:00
Forum: Users
Topic: Issues converting a PSD generated by IM to JPG
Replies: 7
Views: 11539

Re: Issues converting a PSD generated by IM to JPG

I see. What happens if you directly convert to JPG or use PNG as intermediate format? Maybe the problem is related to PSD (no experience with it). convert 1.jpg 1.jpg color.psd[2] -background white -alpha remove test.jpg convert 1.jpg 1.jpg color.psd[2] -background white -alpha set test.png convert ...
by indiego
2012-07-25T03:28:33-07:00
Forum: Users
Topic: Issues converting a PSD generated by IM to JPG
Replies: 7
Views: 11539

Re: Issues converting a PSD generated by IM to JPG

Have you already tried

convert test.psd[0] -background white -alpha remove test.jpg
by indiego
2012-07-17T05:38:41-07:00
Forum: Users
Topic: '+level-colors black' and cmyk result
Replies: 8
Views: 12590

Re: '+level-colors black' and cmyk result

I doubt this will help, but try putting -colorspace CMYK at the very end before the output.


...but it does. Works with 'black' now too!! :lol:

Many thanks!
by indiego
2012-07-16T11:08:05-07:00
Forum: Users
Topic: '+level-colors black' and cmyk result
Replies: 8
Views: 12590

Re: '+level-colors black' and cmyk result

Because CYMK is one of the supported color spaces. I write on a ConTeXt module, that uses IM to create drop shadows of squared areas (boxes). If someone needs to create CMYK only documents (no prepress step with proper color conversion before printing), this is the only way to go.
by indiego
2012-07-16T03:03:04-07:00
Forum: Users
Topic: '+level-colors black' and cmyk result
Replies: 8
Views: 12590

Re: '+level-colors black' and cmyk result

Without a 'comma' in the arguemnt +level-color assumes the color is both the balck and white point, and thus replaces the whole image with that color. This is exactly what I want. I tried to 'replace' the color, but '+level-colors' was the only working method. The idea behind it is to do the shadow...
by indiego
2012-07-15T14:23:42-07:00
Forum: Users
Topic: '+level-colors black' and cmyk result
Replies: 8
Views: 12590

Re: '+level-colors black' and cmyk result

Thanks for the quick reply. Tested with all combinations and the result is the same. I have added a comma after the color to fit the requirements. As I understand it, the same color is also used for the white point, if none is given. The '-shadow' created graphic is unicolor (here always full black)...
by indiego
2012-07-15T13:46:42-07:00
Forum: Users
Topic: '+level-colors black' and cmyk result
Replies: 8
Views: 12590

'+level-colors black' and cmyk result

The following code works here for colorspace 'gray' and 'rgb', but fails for 'cmyk'. The final graphic is empty (no shadow) in the later case. If I use a different color than black (e.g. '+level-colors red') things work ok even with cmyk. This (shortened and simplyfied) code is taken from an automat...
by indiego
2012-06-02T02:18:53-07:00
Forum: Users
Topic: jpg to pdf - with original size
Replies: 6
Views: 62656

Re: jpg to pdf - with original size

This works, but there are better ways to create such a PDF (e.g. ConTeXt).

Code: Select all

convert -density 150 -size 1239x1754 xc:white -density 150 test.jpg -gravity center -composite test.pdf
size: (210mm/25,4mm*150) x (297mm/25,4mm*150)
by indiego
2012-05-29T02:48:18-07:00
Forum: Users
Topic: jpg to pdf - with original size
Replies: 6
Views: 62656

Re: jpg to pdf - with original size

I get the same results here. Also tried a two step conversion, but '-page a4' always blows up the graphic to canvas size. You should give 'sam2p' a try, which is mentioned here [search for 'Image to PDF converters...'] http://www.imagemagick.org/Usage/formats/#vector I guess 'sam2p_pdf_scale.pl' sim...
by indiego
2012-05-07T05:54:53-07:00
Forum: Users
Topic: PDF output and icc profiles
Replies: 11
Views: 22449

Re: PDF output and icc profiles

Just did a manual check of the PDF in emacs (prior was preflight with Adobe Acrobat). The icc profile is part of the IM generated PDF. Even the generated thumbnail graphic has embedded it in its stream (graphic and profile in one object). The /ColorSpace of the document is set to /DeviceRGB. Looks l...
by indiego
2012-05-07T00:41:17-07:00
Forum: Users
Topic: PDF output and icc profiles
Replies: 11
Views: 22449

Re: PDF output and icc profiles

I checked the test image and the PDF documents for embedded icc profiles.

jpg, AI and PS: ProPhoto RGB
IM: no profile

So it seems, that IM (GhostScript) has stripped of the profile.
A quick search showed, that icc profile support was introduced in GS9.0. Is your version older?
by indiego
2012-05-06T08:17:53-07:00
Forum: Users
Topic: PDF output and icc profiles
Replies: 11
Views: 22449

Re: PDF output and icc profiles

I agree, PDF is the best format for printing.

Anyhow, I doubt that IM (GhostScript) can do the same as Illustrator. But we will see...
Can you post a link to a test picture and its IM/Illustrator PDF export then?
by indiego
2012-05-04T07:16:01-07:00
Forum: Users
Topic: PDF output and icc profiles
Replies: 11
Views: 22449

Re: PDF output and icc profiles

Is this question just academic? I can't see a reason to use PDF here instead of a pure graphic format, like JPG or PNG with embedded profile. Where is the benefit?
by indiego
2012-01-24T16:03:13-07:00
Forum: Users
Topic: PDF conversion making image darker...
Replies: 11
Views: 29007

Re: PDF conversion making image darker...

I noticed some PANTONE spot colors in the PDF. Donno if IM is supporting this. pdf:SpotColor-0: PANTONE Blue 072 CVC pdf:SpotColor-1: PANTONE 7506 C pdf:SpotColor-2: PANTONE 873 C pdf:SpotColor-3: PANTONE 7421 C I only found a page, where the corresponding RGB values are listed ( http://goffgrafix.c...
by indiego
2012-01-24T15:29:53-07:00
Forum: Users
Topic: Invalidfont while converting PDF to JPG
Replies: 1
Views: 6401

Re: Invalidfont while converting PDF to JPG

I guess the font in not embedded and ghostscript is not able to access the local Helvetica font somehow. You can test it with the 'pdffonts' tool, which is part of Xpdf ( http://www.foolabs.com/xpdf/download.htm l) pdffonts foo.pdf and then look in the 'emb' (embedded) column for the Helvetica font....