Hi everyone,
Sorry for cross-posting. I guess this belongs to the Java2D list, but
my assumption is that someone in the imageio-community is more likely
to have run into this problem before, and have some hints.
I'm currently writing an ImageIO plugin for Photoshop Document format
Hmmm..
According to some very naive and simple tests, creating and drawing a
BufferedImage is faster than creating and drawing an Image from a
MemoryImageSource, at least on my Mac. The time creating the image
from a preallocated int array is really neglible in both cases though.
So I'd
On 10. juli. 2008, at 11.18, [EMAIL PROTECTED] wrote:
but i want to Draw it
Try something like:
@Override
protected void paintComponent(Graphics g) {
...
String html = ...;
JLabel label = new JLabel(html);
label.setBounds(getBounds());
Hi,
The quick answer is you can't do that with one large BufferedImage
because, as it name suggests, it's buffered (in memory). It might be
that you could use some kind of RenderedImage though.
I suggest you search the JAI/ImageIO mailing list archives, or ask the
list. They probably
Hi,
You can't do an alpha-blended composition of two bi-level images, as a
bilevel image has only two levels, either completely white or
completely black. So you first have to create a new temporary true
color BufferedImage (any of the TYPE_INT_RGB or TYPE_3/4BYTE_RGB/BGR
will probably
Once again, this time to the list.. ;-)
On 2. aug.. 2008, at 00.24, Jim Graham wrote:
Since it doesn't seem to be working well with your particular
colormap, my suggestion is to not use Antialiasing - or to come up
with a better selection of colors in your colormap that provide
enough
Hi,
On 10. sep.. 2008, at 14.12, [EMAIL PROTECTED] wrote:
2) When using ImageIO, sticking a BufferedImage into the params
object (forcing the ImageIO to use the supplied BI instead of
allocating itself), will this permanently defeat acceleration for
this BI instance? (Basically, does
Hi,
I've been doing some fun wor,k creating cusomt UI delegates for Swing
lately. And I've come across an issue with LineGradientPaint, where I
want to create a gradient from some color (say white) to the
background color of my component, to create a typical gloss effect.
However, I find
Hi Steve,
Thanks a lot for the response!
At first my colors were fully opaque. And for some reason it just
don't work..
I actually ended up doing something similar to what you describe. I
first fill the component with a solid, opaque color (the background),
then I do a fade from the
Hi Chris,
You might want to take a look at the Task class from Swing Application
Framework. It is a great abstraction for long-running operations in
general. It's basically a fancy SwingWorker, with support for a nice
publish/process-protocol, which I think you could use for your drip-
Hi Vince,
I know this is probably not what you are looking for (and it certainly
isn't hardware accelerated). Oh, and you proably already knew about
it.. But given the lack of response on this topic, I'll post it
anyway. ;-)
Romain Guy did some work on advanced blending modes for photo
11 matches
Mail list logo