PNG-Export without antialiasing/blur
We would use Inkscape for drawing lithography mask. The document size and the PNG output size is 16384*16384 pixel. The exposure time per pixel is coded in the pixel color (non linear). So we need a PNG export without antialiasing/blur.
I have found the getUseAntialias in filedialog.cpp. But I think this is a unused function yet. Is this right?
Then I have found in png-write.cpp:
335 // export with maximum blur rendering quality 336 int saved_quality = prefs_get_int_attribute ("options.blurquality", "value", 0); 337 prefs_set_int_attribute ("options.blurquality", "value", 2);
I have set options.blurquality to zero, but this has no effect for the exported png!? I'm running out of ideas. Could someone give me a hint, Please?
Thanks Bernd Derer
__________________________________ Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever
On 4/25/07, Bernd D. <feldrain@...889...> wrote:
We would use Inkscape for drawing lithography mask. The document size and the PNG output size is 16384*16384 pixel. The exposure time per pixel is coded in the pixel color (non linear). So we need a PNG export without antialiasing/blur.
Sorry, not possible in Inkscape as of yet. If it's b/w, you can just process it with threshold in any bitmap processor. Otherwise you can export it several times as big as needed and scale down without AA in a bitmap processor.
I have found the getUseAntialias in filedialog.cpp. But I think this is a unused function yet. Is this right?
no idea what this is for
Then I have found in png-write.cpp:
335 // export with maximum blur rendering quality 336 int saved_quality = prefs_get_int_attribute ("options.blurquality", "value", 0); 337 prefs_set_int_attribute ("options.blurquality", "value", 2);
I have set options.blurquality to zero, but this has no effect for the exported png!?
This is only for specifically blurred objects, not for AA.
participants (2)
-
Bernd D.
-
bulia byak