You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Steven Dow <sd...@instepsoftware.com> on 2002/02/13 23:14:01 UTC

Extensions for additional image types

Does anyone know how to extend the SVG viewer to handle image files in addition to JPG and PNG such as TIF or CIT?  Thanks!


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


Extensions for additional image types

Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "SD" == Steven Dow <sd...@instepsoftware.com> writes:

SD> Does anyone know how to extend the SVG viewer to handle image
SD> files in addition to JPG and PNG such as TIF or CIT?

    Batik already supports most forms of Tiff (Just use it in an image
tag).

    As for adding additional file types, 

    1) There is some documentation on this at our Web site:
       http://xml.apache.org/batik/extendingBatik.html#imageTagFormats

    2) You can look at how the current PNG and Tiff stuff is done
       (they are essentially just built in extensions).  

    Taking a wild guess (based on the CIT request) you may be coming
from the JAI world, in which case it should be a relatively small
amount of work to repurpose an existing JAI reader for Batik (they use
many of the same concepts/interfaces).


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