xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas E Deweese <thomas.dewe...@kodak.com>
Subject RE: How to overlap 2 images generated using JPEGTranscoder
Date Thu, 10 Oct 2002 11:52:26 GMT
>>>>> "AS" == Arvind Sareen <arvind_sareen@hotmail.com> writes:

Hi Arvind,

AS> Thanks for the suggestion but i need to make JPEG files because
AS> ultimately I have to put zooming and panning as well as access X
AS> and Y co-ordinates from the JPEG files.

    Why can't you do all these things with PNG files?

AS> If there is any other way I can meet all these points. Please let
AS> me know so that I can proceed on those lines.

    There is no standard way to express transparency in JPEG.  If you
were incredibly desperate you could create seperate mask images (as 1
band JPEG's) and mask the JPEG files.  But I don't understand why you
can't just use PNG here...


>> From: Thomas E Deweese <thomas.deweese@kodak.com> Reply-To: "Batik
>> Users" <batik-users@xml.apache.org> To: Batik Users
>> <batik-users@xml.apache.org> Subject: RE: How to overlap 2 images
>> generated using JPEGTranscoder Date: Wed, 9 Oct 2002 07:40:05 -0400
>> 
>> >>>>> "AS" == Arvind Sareen <arvind_sareen@hotmail.com> writes:
>> 
AS> I have created 2 svg files and then converted them to images using
AS> JPEGTranscoder. Now when I call these 2 images in another svg
AS> file. The file which is called in the last is displayed whereas
AS> the file below it is not displayed.  Can anybody provide me with a
AS> solution or workaround to above problem.
>>  Use PNG. JPEG doesn't support transparency so both images are
>> fully opaque.  PNG does support opacity so the top image will allow
>> the bottom image to show through any place where you haven't drawn
>> stuff.
>> 
AS> Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message