[Olena] #255: Vectorial type with ascii pnm.

#255: Vectorial type with ascii pnm. ----------------------+----------------------------------------------------- Reporter: carlinet | Owner: Olena Team Type: defect | Status: new Priority: major | Milestone: Component: Milena | Version: 1.0 Keywords: | ----------------------+----------------------------------------------------- Milena does not load correctly ppm when they are in ascii (P3) To reproduce: Let the following foo.ppm: P3 6 5 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 127 0 127 127 0 127 127 0 127 127 0 0 0 0 0 0 0 127 127 0 0 255 0 255 0 0 127 127 0 0 0 0 0 0 0 127 127 0 127 127 0 127 127 0 127 127 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 and the following code: int main() { image2d<value::rgb8> ima; io::ppm::load("foo.ppm", ima); debug::println(ima); } show: (48,48,48) (48,48,48) (48,48,48) (48,48,48) (48,48,48) (48,48,48) (48,48,48) (48,49,50) (55,49,50) (55,48,49) (50,55,49) (50,55,48) (49,50,55) (49,50,55) (48,49,50) (55,49,50) (55,48,48) (48,48,48) (48,48,49) (50,55,49) (50,55,48) (48,50,53) (53,48,50) (53,53,48) (48,49,50) (55,49,50) (55,48,48) (48,48,48) (48,48,49) (50,55,49) The patch in PJ solves this problem. -- Ticket URL: <https://trac.lrde.epita.fr/olena/ticket/255> Olena <http://olena.lrde.epita.fr> Olena, a software platform dedicated to image processing.
participants (1)
-
Olena Trac