compile error rev 16180
by bulia byak
Enable LittleCms: yes
color-profile.cpp: In function 'void*
Inkscape::colorprofile_get_display_transform()':
color-profile.cpp:722: error: 'cmsFLAGS_PRESERVEBLACK' was not
declared in this scope
make[2]: *** [color-profile.o] Error 1
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
16 years, 1 month
Composite Filter, arithmetic mode
by Tavmjong Bah
Hi,
I've been studying the filter primitives. While the work that has been
done is quite impressive, there seems to be quite a bit of polishing to
do. I am currently having trouble with the Composite filter primitive.
As I read the standard, the K values in the Arithmetic mode can be
negative. This leads to the case where one or more of the calculated
RGBA values can be negative. Of course these must eventually be clamped
at zero. However, the calculation is done by using integers with the K
values multiplied by a power of 255. The resulting integer is then
normalized to be between 0 and 255 by the NR_NORMALIZE_31 function
located in nr-pixops.h. This function uses the FAST_DIV_ROUND routine
(also in nr-pixops.h) which is only valid for non-negative numbers....
thus it gives the wrong result (a positive value instead of zero). Can
an expert suggest a fix?
Tav
16 years, 1 month
Re: [Inkscape-devel] Color Tweak - Option to not create new gradient
by rosros-3@...112...
Xara's designers think that "named colors" is a great feature of their
program and I agree with them.
Changing the color of 100 objects without affecting 100 other objects
that have the same
current color on the canvas can be achieved easily with named colors
(complicated selections
may be needed otherwise). With two-stop gradients one must edit two
stoppoints, with one-stop
gradients just one ... of course.
Linked gradients (and colors), that is unforked ones, can save SVG code
and improve loading
(and perhaps rendering) speed.
Moreover, this feature is already there! So, why removing it? It just
needs to be made more
perspicuous ... and perhaps enhanced with "shades" of the same color,
another great feature of Xara,
for which the code in Inkscape is already there according to Jon Cruz!!
Shouldn't Inkscape be made SVG-1.1-compliant (see the opensource Batik
1.7 [http://xmlgraphics.apache.org/batik/],
which - for instance - renders SVG 1.1 feColorMatrix very well; try opening
http://sourceforge.net/tracker/download.php?group_id=93438&atid=604306&fi...
in Inkscape)?
rosros
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Scegli ciò che stai cercando tra migliaia di annunci, prova con Email.it Annunci, linserzione è gratuita!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6891&d=4-10
16 years, 1 month
CMS display adjustment change
by Jon A. Cruz
Hi,
I just checked in an update with icc color profiles and setting
display calibration.
Now upon startup latest SVN Inkscape will search the standard
locations for profiles
~/.color/icc
/usr/local/share/color/icc
/usr/share/color/icc
Then under the misc preferences you'll have a checkbox for enabling
display calibration, along with a drop-down combo box that allows you
to pick between all RGB display profiles found.
Give it a rundown and let me know how it's behaving.
Thanks.
16 years, 1 month
Getting the ID of the selection in a Python script for Inkscape.
by Redefined Horizons
I was wondering how to obtain the current selection from within an
Inkscape script written in Python. I note that the getselected method
in the inkex.py file contains a comment that says it "Collect selected
nodes". Does this mean that it only returns the nodes from the
selection? Does it return the DOM representation of the selection?
What is the quickest way, if it is even possible, to obtain the
current selection in Inkscape from a python script? I'm thinking maybe
I can get an id of the selection with a helper method an then use some
methods in to get the DOM element of the selection using the "id"
attribute.
I hope my question makes sense. I've been trying to read through some
of the material online about writing scripts and/or extensions for
Inkscape, but I must admit it is a little confusing for me. I
appreciate your patient assistance.
I will do my best to post a summary of any responses to this question
on the Inkscape wiki if that would help other future script writers.
:]
Scott Huey
16 years, 1 month
SVN version fails to compile
by Helmut Jarausch
Hi,
trying to build the SVN version of Inkscape (on my GenToo system)
fails with
widgets/sp-color-icc-selector.cpp:185: error: expected initializer before '*' token
widgets/sp-color-icc-selector.cpp:193: error: 'DWORD' does not name a type
widgets/sp-color-icc-selector.cpp:194: error: 'DWORD' does not name a type
widgets/sp-color-icc-selector.cpp:197: error: variable or field 'getThings' declared void
....
It looks as if a header file hasn't been included.
Many thanks for a hint,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
16 years, 1 month