ColorModel(4,256,r,g,b);
But, I think the length of byte[] (which are passed as the last 3 parameters) does not
always equal to 256.
So, the line below may be safe:
IndexColorModel model=new IndexColorModel(4,nCubes,r,g,b);
Happy Java programming!
---
Jun Inamori
OOP-Reserch
E-mail: [EMAIL
svgbrowser/JSVGViewerFrame.java
You can find my modification by searching "Jun Inamori" in the cource.
In addition, the resource for
apps/svgbrowser/PNGOptionPanel.java
is also included in:
apps/svgbrowser/resources/GUI.properties
Happy Java programming!
--------
Jun Inamor
the
dialog with JSlider, by which s/he can select the quality.
I will add the similar dialog with JCheckBox, i.e. if the user checks it, the SVG will
be exported as the indexed PNG.
This weekend will be enough for this work.
As soon as it is available, I'll send it to you.
Happy Java programming
Hi Thomas,
On May16, 2002 08:40 -0400, Thomas E Deweese wrote:
> >>>>> "JI" == Jun Inamori <[EMAIL PROTECTED]> writes:
>
> JI> Hi Thomas,
> >> Correct GIMP creates palette that adapts to the contents of the
> >> image. There are man
System.out.println((String)(blueIt.next()));
}
}
else{
System.out.println("No blue color!");
}
I think I made a little progress, but I'm not su
ld be written only in Java.
What do you think?
Happy Java programming!
Jun Inamori
OOP-Reserch
E-mail: [EMAIL PROTECTED]
URL:http://www.oop-reserch.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nt people to criticize the whole engine just
> because we cut corners on palletization.
I agree with you.
The better color palette should be implemented.
I'll continue to work with this issue at my free time.
Whenever I found the solutions, I'll post it to this list.
Happy Java prog
t of that).
We need not to explicitly set the RGB palette on PNGEncodeParam.Palette.
If they are not set yet,
org.apache.batik.ext.awt.image.codec.PNGImageEncoder
is wise enough to set them by the way you describe.
Is this right?
As for the rest of your suggestions, I don't understand the
is not the critical problem at all, please don't take your time
for my source so soon.
When you have a time, please look into it and consider to commit it.
Happy Java programming!
----------
Jun Inamori
OOP-Reserch
E-mail: [EMAIL PROTECTED]
URL:h
Hi,
Last week, I posted the new implementation of Transcoder, IndexedPNGTranscoder.
But, I got no answer yet.
Does anyone try it?
By the way, I have a question.
Is ImageTranscode "Thread Safe"?
Thank you for your help.
Happy Java programming!
--------
Jun I
PNGTranscoder.
By the slight modification of it, I implemented IndexedPNGTranscoder, which generates
the "index" PNG file.
I attached its source to this e-mail.
What do you think of it?
Does it have any substantial problems?
I'd like to hear your opinions.
--
Happy Java program
11 matches
Mail list logo