Search found 114 matches

by kriks
2015-10-09T01:17:48-07:00
Forum: Bugs
Topic: IM 6.9.2 crash with some PNG
Replies: 7
Views: 20268

Re: IM 6.9.2 crash with some PNG

Thank you very much!
Can you tell me what was the problem ?
by kriks
2015-10-08T04:25:51-07:00
Forum: Bugs
Topic: IM 6.9.2 crash with some PNG
Replies: 7
Views: 20268

Re: IM 6.9.2 crash with some PNG

Thank you all for having a look.

For the /tmp, I have 20GB available, it should be enough :)

Here is the pngcheck output :
# pngcheck -v trim.png
File: trim.png (9158238 bytes)
chunk IHDR at offset 0x0000c, length 13
3148 x 4055 image, 32-bit RGB+alpha, interlaced
chunk cHRM at offset ...
by kriks
2015-10-07T07:51:47-07:00
Forum: Bugs
Topic: IM 6.9.2 crash with some PNG
Replies: 7
Views: 20268

IM 6.9.2 crash with some PNG

Hi

we recently encountered a problem that IM crashes with a command like this

convert -verbose -background transparent trim.png +repage -resample 300x300 -density 300 -resize x740 -gravity NorthEast -splice -228.10734463277x50 -gravity SouthWest -splice 50x50 +repage -compress LZW -quality 90 ...
by kriks
2015-02-18T02:15:41-07:00
Forum: Bugs
Topic: [RESOLVED] Background color not applied in conversion from EPS to JPEG
Replies: 3
Views: 6256

Re: Background color not applied in conversion from EPS to JPEG

Thank you very much !

The part that was missing was "+clip" to deactivate the clip path for the next operations.
And the resize tip is also great :)
by kriks
2015-02-16T07:37:50-07:00
Forum: Bugs
Topic: [RESOLVED] Background color not applied in conversion from EPS to JPEG
Replies: 3
Views: 6256

[RESOLVED] Background color not applied in conversion from EPS to JPEG

Hi all,

given a EPS with a named clip path, I want to convert it into a JPEG with the clip area colored (from background-color).

I use IM 6.9.0-3 and GS 9.15

Here is the EPS : http://kriks.free.fr/IM/ball/ballon_foot.eps
Here is my command-line (I tried various placements of the background ...
by kriks
2015-01-08T02:00:38-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

You might check your delegates.xml file to see what sDEVICE is being used for EPS.
In this case, it seems that it's the ps:cmyk delegates that is used :
<delegate decode="ps:cmyk" stealth="True" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 ...
by kriks
2015-01-07T09:09:17-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

I thought that IM would invoke GS by a command-line in a sub-process, and not as a library, am I wrong ?

here are the 2 ldd:
[root@localhost ~]# ldd /usr/bin/convert
linux-vdso.so.1 => (0x00007fff017e0000)
libMagickCore-6.Q16.so.2 => /usr/lib/libMagickCore-6.Q16.so.2 (0x00007f3d34df0000 ...
by kriks
2015-01-07T08:58:42-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

Thanks magick for the information.

But I spoke too fast, after compiling GS (9.15) and IM (6.9.0-3) from source on a clean centos 6.6, the "aborted" GS comes again.
I'll have to double check this later again.
by kriks
2015-01-07T06:46:14-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

This was a step in the right direction, thank you!
There seems to be a problem in the ghostscript package in centos 6.6

After recompiling and installing ghostscript 9.15, and then recompiling the src.rpm for IM-6.9.0-3, the aborted process does not show up any more :)
(I had to recompile, as the ...
by kriks
2015-01-07T01:05:08-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

We may have something here:

[root@localhost ~]# gs -v
GPL Ghostscript 9.15 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.

[root@localhost ~]# locate libgs.so
/usr/lib64/libgs.so
/usr/lib64/libgs.so.8
/usr/lib64/libgs.so.8.70

[root@localhost ~]# rpm -qa | grep ghost ...
by kriks
2015-01-07T00:46:09-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

dlemstra wrote:Maybe there are more versions of libgs.so on your machine? This library will be probably be in another package.
I'm afraid there is only one libgs.so:

Code: Select all

# find / -name libgs.so
/usr/lib64/libgs.so
by kriks
2015-01-06T08:00:43-07:00
Forum: Bugs
Topic: can't install IM-6.9.0 rpms on centos x86_64
Replies: 0
Views: 6316

can't install IM-6.9.0 rpms on centos x86_64

Hi,

I'm trying to install (yum install) the latest RPMs on centos 5.11 x86_64, but there are many failed dependencies:
Error: Missing Dependency: libgomp.so.1(GOMP_4.0)(64bit) is needed by package ImageMagick-libs-6.9.0-3.x86_64 (/ImageMagick-libs-6.9.0-3.x86_64)
Error: Missing Dependency: libgs ...
by kriks
2015-01-06T05:21:59-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

Yes there was only one ghostscript version (9.15) installed on this server.

Code: Select all

# find / -name gs
/usr/bin/gs
by kriks
2015-01-06T05:08:20-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

Thanks, I used this command:
gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1419x1064 -dFirstPage=1 -dLastPage=1 -dEPSCrop -sOutputFile=Output.pam -fT859_405_29_273_00 ...
by kriks
2015-01-06T01:00:03-07:00
Forum: Bugs
Topic: EPS conversion aborted
Replies: 28
Views: 39777

Re: EPS conversion aborted

Maybe you are linking with an older Ghostscript version?
p.s. I just submitted a patch to our SVN repository to report the Ghostscript library version when an exception is raised or with -verbose:


Thanks, how can I test this patch ?
Meanwhile, is there a way to execute only the ghostscript part ...