why does your verbose info for the EMF file have png properties. Perhaps your EMF reader is reading the png size and IM does not change that. Try adding -strip to your convert to remove the png properties.
convert -density XX -units pixelsperinch image.emf -strip result.jpg where XX=72 or less
or
convert -strip -density XX -units pixelsperinch image.emf result.jpg where XX=72 or less
or if your emf has an imbedded png image, then try
convert image.emf -strip -density XX -units pixelsperinch result.jpg
See if one of those will work.
Converting EMF to JPG
Re: Converting EMF to JPG
I hadn't noticed that. At a guess I'd say it had an embedded image in there.fmw42 wrote:why does your verbose info for the EMF file have png properties. Perhaps your EMF reader is reading the png size and IM does not change that.
There are legends on the map, although they wouldn't be that large.
Tried all three, didn't seem to do much.Try adding -strip to your convert to remove the png properties.
convert -density XX -units pixelsperinch image.emf -strip result.jpg where XX=72 or less
or
convert -strip -density XX -units pixelsperinch image.emf result.jpg where XX=72 or less
or if your emf has an imbedded png image, then try
convert image.emf -strip -density XX -units pixelsperinch result.jpg
See if one of those will work.
I'll play around with it some more, tonight.
Re: Converting EMF to JPG
For future visitors, this can be done using libreoffice:
Code: Select all
libreoffice --headless --convert-to jpg *.emf