Search found 12 matches

by chri
2016-03-03T04:22:24-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

any news on this - I'd still be very happy if this feature would be implemented ;)
by chri
2016-01-26T05:45:06-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

@dlemstra did you find a way to automate the limiting of the density with which the image is read to the max. possible value?

e.g. convert -units PixelsPerInch -density max %1 -resize 3307x -density 300 %1.jpg
by chri
2016-01-15T00:45:21-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

For me the two emf seem to have the same content (drawing wise) - same size (lenght x width), different file size (the bigger one works).

The question is how should I know that is an appropriate density for each file. The conversion should be fully automated in background before uploading the ...
by chri
2016-01-15T00:31:01-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

Thanks! That does work.

The output in the end should always be 3307x* with 300 dpi for optimal printing. The input files do not always have the same size. Now if I hardcode "-density 10" I might reduce the image size to much and would then upscale the image. Which will not return good results.
Is ...
by chri
2016-01-14T07:43:57-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

I usually don't work with linux so just for testing I downloaded a Ubuntu virtualbox image and installed ImageMagick.

Unfortunately I couldn't find a delegate library for EMF. Is there actually one for Linux?

I was able to create a pdf from the emf using unoconv though - still not what I want ...
by chri
2016-01-14T05:56:48-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

Thanks I changed my script and also updated to the latest version

Version: ImageMagick 6.9.3-0 Q8 x64 2016-01-02 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC ...
by chri
2016-01-13T13:16:00-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

I appreciate your comments but they do not provide anything pointing to an solution.

Did you download the sample and verify your recommendations work on your system?
by chri
2016-01-13T11:28:01-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

Re: EMF conversion error error/emf.c/ReadEMFImage/753

Actually it does not matter what parameter I use. Also in a very Basic Syntax "convert <emf> <jpg>" I do get this error.

It must bei relativ to the files somehow. Its not the geometry size as files containing the same geometry plus additional geometris work.
by chri
2016-01-13T09:00:46-07:00
Forum: Users
Topic: EMF conversion error error/emf.c/ReadEMFImage/753
Replies: 21
Views: 11250

EMF conversion error error/emf.c/ReadEMFImage/753

Hi,

I try to convert EMF to JPG format. The vector graphics in the EMF files are rather big so I downsize the files using the command
convert -geometry "3307x2244" -units PixelsPerInch -compress "JPEG" %1 -density 300 %1.jpg

Output:
convert.exe: UnableToReadImageData `00010003_1247.emf' @ error ...
by chri
2012-04-05T13:42:16-07:00
Forum: Users
Topic: -depth not working?
Replies: 5
Views: 12931

Re: -depth not working?

http://w604232.open.ge.tt/1/files/5btHs ... b?download

the file is generated by an adobe flash app and should be imported into SAP

the problem is I could not get flash to save the bitmap in any other format and import into SAP does not work properly unless the bitmap is 8bit only
by chri
2012-04-05T12:25:56-07:00
Forum: Users
Topic: -depth not working?
Replies: 5
Views: 12931

Re: -depth not working?

thanks - useful hint but did not solve the problem

seems its doing something
convert img.bmp -type palette -depth 8 img_new.bmp

filesize is reduced from 880k to 13k, image looks like it should BUT its still 32bit and not 8
convert img.bmp -colorspace Gray -type palette -depth 8 img_new.bmp does ...
by chri
2012-04-05T04:14:59-07:00
Forum: Users
Topic: -depth not working?
Replies: 5
Views: 12931

-depth not working?

Trying to convert a 24/32bit bmp or jpg to a 8bit bmp using ImageMagick-6.7.6-4-Q16-windows-x64-static with the following commands fail:
convert img.bmp -depth 8 img_new.bmp or
convert img.jpg -depth 8 img_new.bmp

conversion of 8bit bmp or jpg into 8bit bmp fails as well

conversion of 24bit bmp ...