When I try to view a bmp image, I get wrong colors.
It seems that red and blu are swapped.

   load 'viewmat'
   viewbmp jpath '~addons/graphics/bmp/toucan.bmp'

Similar behaviour with viewrgb:

   viewrgb 100 100 $ 256  #. 255 0 0 NB. should be red, I get blu
   viewrgb 100 100 $ 256  #. 0 255 0 NB. ok, I get green
   viewrgb 100 100 $ 256  #. 0 0 255 NB. should be blu, I get red

It works correctly in J601.

Lorenzo
-- 
View this message in context: 
http://old.nabble.com/graphics-viewmat-tp31600727s24193p31600727.html
Sent from the J Programming mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to