🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16958

Re: How to save a MemoryImageSource in a file

#16958
From: Paul Gifford
Date: Wed, 06 Jan 1999 00:00
32 lines
1468 bytes
Hello,

  I suggest you look at the class gifEncoder, freeware from
www.acme.com.

p

On Thu, 24 Dec 1998 09:54:12 -0300, Omar Butaiban 94-1826
<ce941826@eng.kuniv.edu.kw> wrote:

>
>--------------3C929618744FB04B46788CD0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Hello, in runtime, I got a memoryImageSource with its int[] array full
>of colorful ints
>how to save the image in a file s.t it can be opened in paint shop pro
>or any package
>to print the image with its colors
>I tried to write the image using DataOutputStream.writeByte(int) but it
>produces
>black and white image
>I want colorful image the one that I see in my java applet
>need help quickly today!
>
>--
>----------------------------------------------------------------------------
>|Omar Butaiban|ce941826@eng.kuniv.edu.kw|P.O Box 7532 salmiya, Kuwait 22086|
>----------------------------------------------------------------------------
>
>
Technical Details
Message-ID: <36939a80.5342404@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36823973.FD4F069@eng.kuniv.edu.kw>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f87f28beee4a067f
X-Google-Attributes: gidf74b3,public
From: paul.gifford@ibm.take.me.outta.here.net (Paul Gifford)
Subject: Re: How to save a MemoryImageSource in a file
Date: 1999/01/06
Message-ID: <36939a80.5342404@forums.inprise.com>
X-Deja-AN: 429468432
References: <36823973.FD4F069@eng.kuniv.edu.kw>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language