Activity log for bug #555017

Date Who What changed Old value New value Message
2010-04-04 08:17:14 Rena Kunisaki bug added bug
2010-04-04 08:18:18 Rena Kunisaki description Currently it's possible to define colours as RGB or HSL in the range 0-255. While this is adequate for most applications, it has some limitations when adjusting colours, and I personally feel vector graphics should allow more precision for colours the same as they do for coordinates. The proposal is to allow colours to be outside of the 0-255 range, and clip them when rendering. This prevents unwanted clipping when adjusting colours. To see an example of this: 1) Create three objects with the same fill colour, with a lightness around 127. 2) Increase the lightness of one to 249. 3) Select all three objects. 4) Go to Extensions, Color, More Light. The Lightness of all objects is increased by 12. 5) Go to Extensions, Color, Less Light. The Lightness of all objects is decreased by 13 (not 12?). 6) Observe that the lightness of the object from step 2 is now 242. This is because in step 4, 249+12 is clipped to 255. To avoid this problem, the color should be allowed to increase to 261, which would be rendered as 255. The same is true of darkening, where a color value could end up below zero. Additionally, CSS allows colors to be defined as floating-point percentage values. This allows for more precision that may be useful when rendering to a device capable of more than 24-bit color. Inkscape should be able to do this as well. Using floating-point values for colors also avoids a similar issue to the one mentioned above where color/lightness/etc are being multiplied. Currently it's possible to define colours as RGB or HSL in the range 0-255. While this is adequate for most applications, it has some limitations when adjusting colours, and I personally feel vector graphics should allow more precision for colours the same as they do for coordinates. The proposal is to allow colours to be outside of the 0-255 range, and clip them when rendering. This prevents unwanted clipping when adjusting colours. To see an example of this: 1) Create three objects with the same fill colour, with a lightness around 127. 2) Increase the lightness of one to 249. 3) Select all three objects. 4) Go to Extensions, Color, More Light. The Lightness of all objects is increased by 12. 5) Go to Extensions, Color, Less Light. The Lightness of all objects is decreased by 13 (not 12?). 6) Observe that the lightness of the object from step 2 is now 242. This is because in step 4, 249+12 is clipped to 255. To avoid this problem, the color should be allowed to increase to 261, which would be rendered as 255. The same is true of darkening, where a color value could end up below zero. Additionally, CSS allows colors to be defined as floating-point percentage values. This allows for more precision that may be useful when rendering to a device capable of more than 24-bit color. Inkscape should be able to do this as well. Using floating-point values for colors also avoids a similar issue to the one mentioned above where color/lightness/etc are being multiplied. (See also: Bug #551254)
2010-04-04 16:40:24 Jon A. Cruz inkscape: importance Undecided Wishlist
2010-04-04 16:40:32 Jon A. Cruz inkscape: status New Won't Fix
2010-04-04 16:40:37 Jon A. Cruz inkscape: assignee Jon A. Cruz (jon-joncruz)