logo       

mapping and image merge: msg#00024

Subject: mapping and image merge
>>>>> "CF" == Chris Faulkner <christopher.faulkner@xxxxxxxxxxxx> writes:

CF> Hi all I've been using FOP recently to embed dynamically-created
CF> imagery of map data into PDF documents, in a JSP environment. I'd
CF> like to add some features to the top of those images, where the
CF> data has been derived from a database in SVG format. The Batik
CF> rasterizer looks very interesting to me in this respect. However,
CF> the bits that I can't immediatley see from the website are

CF> 1. Is there anyway that I can use the rasterizer to "add" the
CF> SVG-generated image to my existing map image ?  Maybe taking my
CF> existing image as input.

    Check out the 'image' element in SVG you can include your raster
content as an element in the SVG document.  Batik understands
JPEG, PNG, GIF, & TIFF.

CF> As I mentioned, I have an existing image and I'd just like to draw
CF> the SVG on top of that.  

    The image element can also reference SVG content so you could have
each of your overlays in a seperate document and then merge everything
in a small SVG document that just references everything (image in the
back then the layers built up on top).

CF> If the output is to HTML, I could probably just make two images
CF> and use CSS to put one on top of the other, assuming that the
CF> Batik rasterizer lets me specify transparency. However, I'm not
CF> sure that I could put one image on top of the other in XSL-FO.  I
CF> can manipulate the two images in the way that I want with netpbm
CF> but that would mean doing something nasty as a system call.

CF> 2. Does anyone have any examples of invoking Batik in JSP ?

    There is a book that has a chapter on this -the title eludes me at
the moment, check the archives.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe