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


Groups > comp.lang.java.gui > #3484

Re: Image Displayer

From "mekane" <mekane@THRWHITE.remove-dii-this>
Subject Re: Image Displayer
Message-ID <2vJUj.15249$V14.728@nlpi070.nbdc.sbc.com> (permalink)
Newsgroups comp.lang.java.gui
References <76f67313-1255-4056-b072-8dc634fa0c42@c65g2000hsa.googlegroups.com>
Date 2011-04-27 15:45 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.programmer
Chase Preuninger wrote:
> I want to figure out how to read a JPG file by just using the read
> method in the InputStream class then I want to create a GUI component
> that can display it.
> 
> 1) How are the bytes formatted in a JPG file?

Have you Googled for the JPEG spec?


> 2) What is the best way to color individual pixels in a JComponent.
> 
> Please don't tell me to just use ImageIO and to draw it using a
> Graphics object because I know how to do that.


If I were you I would use the ImagIO packa-- oh, yeah, never mind. Good 
luck with your project.

---
 * 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

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Image Displayer "Chase Preuninger" <chase.preuninger@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
  Re: Image Displayer "mekane" <mekane@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
    Re: Image Displayer "Chase Preuninger" <chase.preuninger@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
  Re: Image Displayer "Philipp" <philipp@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
  Re: Image Displayer "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000

csiph-web