Thread subject: sK1 Project :: Convert CDR into JPEG

Posted by niteensapkal on 17-01-2011 10:40
#1

Hi experts,

I am using .net environment and want to convert cdr files into jpeg/png/bmp format.
I want to achieve this programatically.

Someone sugest me to use Uni Converter.

I have downloaded uniconvertor-1.1.5-win32.msi.

please tell me is this possible with uni converter.

If yes then what is the script i must run to convert file.

Thanks in advance.

Posted by niteensapkal on 17-01-2011 11:20
#2

Or there is a way to convert it into wmf?

Posted by max on 17-01-2011 12:31
#3

Hi niteensapkal.

Step 1.
uniconvertor FILE.cdr FILE.pdf

Step 2.a Converting PDF to PNG using ImageMagick
convert -density 300 FILE.pdf FILE.png

Step 2.b Converting PDF to PNG using Ghostscript
gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dEPSCrop -sOutputFile=FILE.png FILE.pdf



Posted by igor on 21-01-2011 08:52
#4

niteensapkal wrote:
Or there is a way to convert it into wmf?


In general case you cannot convert CDR file into WMF format without problems because unlike WMF format CDR file can contains several pages. In case single page drawing you can convert CDR file using console command:

uniconvertor file.cdr file.wmf

In next UniConvertor 2.0 we plans adding Cairo renderer to convert vector graphics into raster.