🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to save a MemoryImageSource in a file

#16995
From: Omar Butaiban 94-1826
Date: Thu, 24 Dec 1998 00:00
45 lines
2170 bytes
--------------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|
----------------------------------------------------------------------------



--------------3C929618744FB04B46788CD0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Hello, in runtime, I&nbsp;got a memoryImageSource with its int[] array
full of colorful ints
<BR>how to save the image in a file s.t it can be opened in paint shop
pro or any package
<BR>to print the image with its colors
<BR>I&nbsp;tried to write the image using DataOutputStream.writeByte(int)
but it produces
<BR>black and white image
<BR>I want colorful image the one that I see in my java applet
<BR>need help quickly today!
<PRE>--&nbsp;
----------------------------------------------------------------------------
|Omar Butaiban|ce941826@eng.kuniv.edu.kw|P.O Box 7532 salmiya, Kuwait 22086|
----------------------------------------------------------------------------</PRE>
&nbsp;</HTML>

--------------3C929618744FB04B46788CD0--
Technical Details
Message-ID: <36823973.FD4F069@eng.kuniv.edu.kw>
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: f74b3,f87f28beee4a067f,start
X-Google-Attributes: gidf74b3,public
From: Omar Butaiban 94-1826 <ce941826@eng.kuniv.edu.kw>
Subject: How to save a MemoryImageSource in a file
Date: 1998/12/24
Message-ID: <36823973.FD4F069@eng.kuniv.edu.kw>
X-Deja-AN: 425436197
Content-Type: multipart/alternative; boundary="------------3C929618744FB04B46788CD0"
Organization: Kuwait  University
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language