I'm not sure what exactly you are doing.
First: if I load an image, I do not describe some particular type of BufferedImage; I just let that being handled by whatever mechanism
Java uses for this. For instance, part of some of my code is:
As you can see, there's nothing specific about the bufferedimage I'm using here. I have no idea whether it's a 'TYPE_INT_ARGB'
or whatever.
The second way that I use in this program is in the method 'creeer_origineel' (see line 16):
I use a BI called 'bi_EchteOrigineel', which I either set to the just loaded
tempBuf, so I have no idea what actual type of BI this is, or else
I create a TYPE_INT_ARGB, and use this to paint some other BI
into it.
Now, when using transparency and then saving it as JPG, is asking for trouble; so in that case
I save it as PNG; otherwise, saving it as JPG works perfectly for me.
You write:
i could open a jpg, make its background transparent and when i try to save it, it insists on png. however,
if i then open that png file and try to save it as jpg, the program lets me do it. same problem with copy/paste.
Are you saying there's a bug in your program? If not, what exactly is the problem you're having?
Piet
PS: Shouldn't you start any new sentence with a capitalized letter? Not doing this makes the reading rather unpleasant, IMHO.