Convert WMF to PNG / BMP / JPG

How to convert one WMF file to PNG / BMP / JPG format with user output resolution?

Example: Take a WMF file and output a PNG file with 2000x2000 px.

Thanks in advance.

+3
source share
2 answers

You can use excelent Batik ( http://xmlgraphics.apache.org/batik/ ) lib to achieve this. But you will need to do the following:

  • Convert WMF file to SVG using WMFTranscoder
  • Convert SVG to JGP with JPGTranscoder

WMF → SVG → JPG

coderanch : http://www.coderanch.com/t/422868/java/java/converting-WMF-Windows-Meta-File

+4

. , , GIMP. Java WMF.

0

Source: https://habr.com/ru/post/1656936/


All Articles