Hi,
i need to convert a .emf file to a very big image used as terrain for a simulation software.
i used this command:
magick convert -density 16 image.emf image.png
it works but if i use:
magick convert -density 72 image.emf image.png
it will be too slow and crash
is it possible to speed up process ?
is it possible to convert only one part of an .emf file (x,y,width,height) in order to split the image and process ?
if yes, how ?
Convert .emf image to very big .png,.tiff,.jpg...
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert .emf image to very big .png,.tiff,.jpg...
How large is the image, in pixels? How much memory do you have?
I suspect you don't have enough memory for the pixels, so they are stored on disk. See http://www.imagemagick.org/script/comma ... .php#limit for methods to limit memory usage, which can prevent disk thrashing.
I don't think IM has any method for converting only part of the EMF file.
I suspect you don't have enough memory for the pixels, so they are stored on disk. See http://www.imagemagick.org/script/comma ... .php#limit for methods to limit memory usage, which can prevent disk thrashing.
I don't think IM has any method for converting only part of the EMF file.
snibgo's IM pages: im.snibgo.com
Re: Convert .emf image to very big .png,.tiff,.jpg...
With:
magick convert -density 32 image_ramadi.emf image_ramadi.png
it took me about 1 hour to do the calculation and as a result an image of 22750 x 22761 pixels and 1.6 MB.
it slow down my computer too.
i have an Intel Xenon E3-1246 3.50GHz with 16Go of RAM.
i need very very big image which can have 1million x 1million pixels. Spliting image is necessary but before the computation of the big image to avoid too much computation.
Do you know any other tools than ImageMagick to do this job ?
magick convert -density 32 image_ramadi.emf image_ramadi.png
it took me about 1 hour to do the calculation and as a result an image of 22750 x 22761 pixels and 1.6 MB.
it slow down my computer too.
i have an Intel Xenon E3-1246 3.50GHz with 16Go of RAM.
i need very very big image which can have 1million x 1million pixels. Spliting image is necessary but before the computation of the big image to avoid too much computation.
Do you know any other tools than ImageMagick to do this job ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert .emf image to very big .png,.tiff,.jpg...
Inkscape. If the image is entirely vector, that's the obvious tool.greg wrote:Do you know any other tools than ImageMagick to do this job ?
snibgo's IM pages: im.snibgo.com
Re: Convert .emf image to very big .png,.tiff,.jpg...
Inkscape crash when i use the export function.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert .emf image to very big .png,.tiff,.jpg...
If you have problems with Inkscape, you should raise that with Inkscape people.
Did you split the image and export just part of it?
Did you split the image and export just part of it?
snibgo's IM pages: im.snibgo.com
Re: Convert .emf image to very big .png,.tiff,.jpg...
With image magick i don't know how to do that.Did you split the image and export just part of it?
With Inkscape, i try to export the image without any settings and Inkscape close imediately
Re: Convert .emf image to very big .png,.tiff,.jpg...
It looks like it is possible to read part of the exr file on Windows. Could you open an issue on GitHub to request support for this? Not sure if this is possible but we should give it a try.
Re: Convert .emf image to very big .png,.tiff,.jpg...
It's possible to load only one part of an .emf file using the win32 API.
i think i will create my own c++ program to convert one .emf file to several splited .bmp files.
i think i will create my own c++ program to convert one .emf file to several splited .bmp files.