sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
Configuring & running UniConvertor in Windows
Windrider6
#1 Print Post
Posted on 10-11-2009 10:42
Member

Posts: 3
Joined: 10.11.09

I'm new to Python as well as UniConvertor. I'm using the latest, installed in Windows Vista 32bit.

I figured out how convert a .cdr to a .wmf, but the quality of the resulting .wmf is poor (as compared to using http://filespazz.com/). Is there a way to change the quality of the resulting .wmf?

Also, is there a way to batch convert many files that are in multiple directories and subdirectories?

Thank you!

Example:
brucejohnson.ca/uniconvertor/compare.jpg
 
http://BruceJohnson.ca/
max
#2 Print Post
Posted on 10-11-2009 11:42
Administrator

Posts: 63
Joined: 09.05.09

Windrider6 wrote:
I'm new to Python as well as UniConvertor. I'm using the latest, installed in Windows Vista 32bit.

I figured out how convert a .cdr to a .wmf, but the quality of the resulting .wmf is poor (as compared to using http://filespazz.com/). Is there a way to change the quality of the resulting .wmf?


Find the file c:\Python26\Lib\site-packages\uniconvertor\app\plugins\Filters\wmfsaver.py
and manually change the value EPS. For example EPS = 0.5

Download source  Code

# Fault Tolerance for flattening Beziers.
# If you find the curves not smooth enough, lower this value.
EPS = 2




Windrider6 wrote:
Also, is there a way to batch convert many files that are in multiple directories and subdirectories?

Only in the directory.

Download source  Code
@echo off
set EXE=python -c "from uniconvertor import uniconv; uniconv();"

if "%~1" =="" (
echo USAGE: batchuc.cmd [INPUT MASK FILES] [OUTPUT FILES EXTENSION]
echo Example: batchuc.cmd *.* svg
) else (
for %%f in (%1) do (echo %%f - %%~f.%~2
call %EXE% "%%f" "%%~f.%~2")
)




http://maxedrom.b...x-svg.html
Regards,

Maxim Barabash
sK1 Project
Edited by max on 10-11-2009 11:45
 
Windrider6
#3 Print Post
Posted on 10-11-2009 23:10
Member

Posts: 3
Joined: 10.11.09

That helped with the line smoothing, thanks. Now how about the quality in color and details? Is it possible?
brucejohnson.ca/uniconvertor/compare2.jpg
 
http://BruceJohnson.ca/
max
#4 Print Post
Posted on 11-11-2009 05:51
Administrator

Posts: 63
Joined: 09.05.09

Windrider6 wrote:
Now how about the quality in color


Color management is planned in the next release.


and details? Is it possible?

You are using 1.1.4 ver. Uniconvertor?
Regards,

Maxim Barabash
sK1 Project
 
Windrider6
#5 Print Post
Posted on 11-11-2009 08:58
Member

Posts: 3
Joined: 10.11.09

Yes, I'm using version 1.1.4, the latest version. Everything is the latest versions.

Thank you for your replies!
 
http://BruceJohnson.ca/
pulsingbrain
#6 Print Post
Posted on 23-03-2010 10:40
Member

Posts: 1
Joined: 23.03.10

Windrider6 wrote:
Yes, I'm using version 1.1.4, the latest version. Everything is the latest versions.

Thank you for your replies!


Hi Windrider6,

Given the clipart that you showed as an example, I think I need to do exactly the same. I have a bunch of CD's of clipart that I want to convert from CMX into EPS/WMF/... I want to use UniConvertor and I just saw your message. Did you succeed in the conversion of the complete collection? How did you do the conversion in batch and what were the settings of the UniConvertor for the best results?

Gr,

Claude
 
Jump to Forum: