Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2746 > unrolled thread

Buffered Image color help

Started by"paulklemstine" <paulklemstine@THRWHITE.remove-dii-this>
First post2011-04-27 15:40 +0000
Last post2011-04-27 15:40 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.gui


Contents

  Buffered Image color help "paulklemstine" <paulklemstine@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
    Re: Buffered Image color "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
    Re: Buffered Image color "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000

#2746 — Buffered Image color help

From"paulklemstine" <paulklemstine@THRWHITE.remove-dii-this>
Date2011-04-27 15:40 +0000
SubjectBuffered Image color help
Message-ID<1194727358.747325.303490@k79g2000hse.googlegroups.com>
  To: comp.lang.java.gui
I have a bufferedImage of the type BYTE_INDEXED. What are the byte
values for the color red? How does a byte code for RGB values?

Thanks for your help,

-Paul Klemstine
raver1975

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#2747 — Re: Buffered Image color

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:40 +0000
SubjectRe: Buffered Image color
Message-ID<1194741560.238933.3300@v23g2000prn.googlegroups.com>
In reply to#2746
  To: comp.lang.java.gui
On Nov 11, 7:42 am, paulklemst...@gmail.com wrote:
> I have a bufferedImage of the type BYTE_INDEXED. What are the byte
> values for the color red? ...

<http://groups.google.com/group/comp.lang.java.programmer/msg/
c85b73888bb7f4a0>

--
Andrew T.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2748 — Re: Buffered Image color

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:40 +0000
SubjectRe: Buffered Image color
Message-ID<6gfcj318mphn9m2bd6adgecc9cpjll1j9j@4ax.com>
In reply to#2746
  To: comp.lang.java.gui
On Sat, 10 Nov 2007 12:42:38 -0800, paulklemstine@gmail.com wrote,
quoted or indirectly quoted someone who said :

>I have a bufferedImage of the type BYTE_INDEXED. What are the byte
>values for the color red? How does a byte code for RGB values?

It is defined in your IndexColorModel.  You make it up.  You create a
map from each int to a full Color.

see http://mindprod.com/jgloss/indexcolormodel.html
for sample code.
-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web