Jon, The advantage of GRB compared to RGB depends on the fact that green
light is much brighter thanred light. Try comparing these four image in jqt
and JHS.
The real use shows up if you consider the size of the numbers that are
selecting the colors. The larger the number the brighter the color. The
smallest number is black and the largest number is white.
load 'viewmat'
RGB=:(#:i.8){0 255
GRB=:1 0 2{"1 (#:i.8){0 255
]V=: 10 10 $ i.100
RGB viewmat V;'1 to 99'
GRB viewmat V;'1 to 99'
W=:100 100$i.10000
RGB viewmat W;'1 to 9999'
GRB viewmat W;'1 to 9999'
X=:1000 1000$i.1e6
RGB viewmat X;'1 to 9999999'
GRB viewmat X;'1 to 9999999'
Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jon Hough
Sent: Tuesday, October 21, 2014 4:29 AM
To: [email protected]
Subject: Re: [Jprogramming] Bitmaps and Image addons
It looks like rgb ----->bgr
--- Original Message ---
From: "Jan-Pieter Jacobs" <[email protected]>
Sent: October 21, 2014 4:16 PM
To: [email protected]
Subject: Re: [Jprogramming] Bitmaps and Image addons
Thanks for the example, but the colors seem wrong in the images (at least on
android).
The top left one looks like it should, the others look too blueish. maybe an
error in converting between ints and rgb triplets?
Jan-Pieter
On 21 Oct 2014 05:51, "bill lam" <[email protected]> wrote:
> the qt image demo of j803 beta have been updated to include examples
> of reading and writing image files.
>
> Пн, 20 окт 2014, Jon Hough написал(а):
> > I am interested in using J with png and jpg files. But cannot get
> > the
> bmp addon to work with them.I noticed this in the wiki:
> > http://www.jsoftware.com/jwiki/Addons/media/image3
> > But cannot find the image3 addon anywhere in J802.
> > Any ideas?
> > Regards.
> > --------------------------------------------------------------------
> > -- For information about J forums see
> > http://www.jsoftware.com/forums.htm
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver
> subkeys.pgp.net --armor --export 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm