#210: Check ImageMagick save() routine
---------------------+------------------------------------------------------
Reporter: freling | Owner: freling
Type: defect | Status: new
Priority: minor | Milestone: Olena 1.1
Component: Milena | Version: 1.0
Keywords: io |
---------------------+------------------------------------------------------
The save() routine located in mln/io/magick/save.hh has a weird behavior.
We have to do a strange affectation (IM_value = 256 - MLN_value) but we
don't really know why.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/210>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
Show replies by date
#210: Check ImageMagick save() routine
----------------------+-----------------------------------------------------
Reporter: freling | Owner: freling
Type: defect | Status: new
Priority: minor | Milestone: Olena 1.1
Component: Milena | Version: 1.0
Resolution: | Keywords: io
----------------------+-----------------------------------------------------
Comment(by levill_r):
This is due to a misuse of `Magick::ColorRGB`, which takes `double` values
for each channel (between 0.0 and 1.0) to create a color value. Using
`Magick::Color` directly solves the issue (fix pending).
--
Ticket URL: <https://trac.lrde.org/olena/ticket/210#comment:1>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
#210: Check ImageMagick save() routine
----------------------+-----------------------------------------------------
Reporter: freling | Owner: freling
Type: defect | Status: closed
Priority: minor | Milestone: Olena 1.1
Component: Milena | Version: 1.0
Resolution: fixed | Keywords: io
----------------------+-----------------------------------------------------
Changes (by levill_r):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in [15a057175710227bdea5a9702dcbf5bd64704a9d].
--
Ticket URL: <https://trac.lrde.org/olena/ticket/210#comment:2>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.