9 Commits

Author SHA1 Message Date
David Capello
03276e0264 Fix ordered dithering issues converting transparent layers + alpha palette entries 2017-05-19 10:17:22 -03:00
David Capello
573cad4777 Add progress bar to color conversion
Unified render tasks stop/progress notifications in render::TaskDelegate
interface.
2017-05-17 15:25:40 -03:00
David Capello
16aeae0833 Add new ordered dithering algorithm 2017-05-17 13:32:34 -03:00
David Capello
cbee0862f3 Add a Color Mode conversion dialog with preview 2017-05-16 17:18:55 -03:00
David Capello
372d604d93 Add support for alpha channel in RgbMap and Palette::findBestfit()
This include several changes:
- Color::getIndex() can return palette values with alpha != 255
- Fix Transparent and Blurs ink for indexed images to make better use
  of palette entries with alpha values
- Fix bilinear resize algorithm for indexed images with alpha
- New RgbMap with four parameters: R, G, B, A
- Add one extra color scale function used in the alpha channel of the
  new RgbMap
- Fix color curve, convolution matrix, invert color, and median filters
  to take care of this new alpha channel on indexed images
- Fix ordered dithering and quantization

Related to #286
2015-07-01 21:33:30 -03:00
David Capello
318bc2e2f9 Add alpha channel to palette/color bar/color selector (issue #286) 2015-06-30 17:36:37 -03:00
David Capello
8abc486c85 Use doc:: namespace to access Rgb/IndexedTraits in render::OrderedDither 2015-06-23 11:27:05 -03:00
David Capello
b9e7e1b373 Replace std::array with a raw C array
The clang version we're using don't support this feature (from OS X 10.7)
2015-06-23 11:23:05 -03:00
David Capello
70ea54aa20 Re-implement ordered dither in render library 2015-06-22 20:58:33 -03:00