🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.gui
Article #131

Image reading from memory byte[] in JDK1.2.

#131
From: Luis Miguel Crespo Pérez
Date: Fri, 15 Jan 1999 00:00
14 lines
1646 bytes
        Memory images worked  with JDK 1.1 and Netscape without
any plug-in, but now  I'm running Netscape 4.5 with the plug-in
required to run swing JDK 1.2 classes.

    The byte array has a JPEG image TCP/IP loaded form a server,
If I use Toolkit.getDefaultToolkit.createImage( byte[ ] ) the image
seems to be blurry, it happens the same if I create a JButton(  byte[ ]
).

    If I ask HTTP for the image with getImage( URL ) the image seems
perfect.

    What's happening now for having the plug-in ?
Technical Details
Message-ID: <369F01A0.87DCEFB0@sdsoftware.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 115d3b,93454e8c37a1e30a,start
X-Google-Attributes: gid115d3b,public
X-Google-Thread: 1116f3,93454e8c37a1e30a,start
X-Google-Attributes: gid1116f3,public
X-Google-Thread: 10fd6d,93454e8c37a1e30a,start
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 113ae9,93454e8c37a1e30a,start
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10a146,93454e8c37a1e30a,start
X-Google-Attributes: gid10a146,public
From: Luis Miguel Crespo Pérez <lmc@sdsoftware.es>
Subject: Image reading from memory byte[] in JDK1.2.
Date: 1999/01/15
Message-ID: <369F01A0.87DCEFB0@sdsoftware.es>
X-Deja-AN: 432948485
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@lander.es
X-Trace: bufalo.lander.es 916390326 4256 195.76.47.68 (15 Jan 1999 08:52:06 GMT)
Organization: Lander Internet
Mime-Version: 1.0
NNTP-Posting-Date: 15 Jan 1999 08:52:06 GMT
Newsgroups: comp.lang.java.gui,es.comp.lenguajes.java,comp.lang.java.programmer,comp.lang.java.security,comp.lang.java.help