logo       

Problem in printing.: msg#00122

Subject: Problem in printing.
>>>>> "KB" == K, Balamurugan (CORP, GEITC) <Balamurugan.K@xxxxxxxxxxxx> writes:

KB> I have an application which takes shows SVG files as icons by
KB> rasterizing(converting it as bufferedimage) the svg. But when i
KB> print those svg file through my application the images are not
KB> clear. I am attaching an example file generated by the
KB> application. I feel because all the images are in image format
KB> this thing is happening.

    Yes, once you draw the SVG to a BufferedImage it's SVGness is
lost... We have no way of knowing that the contents of this
BufferedImage originally came from an SVG file.  If you want the icons
drawn as SVG you will have to draw the SVG directly.

    Unfortunately in this case it probably means you will need two
code paths, one where you draw the BufferedImage icons (presumably for
speed?) and one where you render the icon's GVT tree's directly to the
destination graphic.

    You might also consider building SVG into your application more
deeply and instead of just using it to create icons then remembering
where you are supposed to be drawing these icons, add 'use' elements
to an SVG document and just let the JSVGCanvas handle all your
rendering.  This will give you panning/zooming/rotation for free in
addition to high quality SVG output.

KB> I saved the my application can save the screen as SVG then i opend
KB> that file using SVG Browser, i printed the SVG still same problem
KB> i am facing.

KB> Thanks in advance. Can any one help me regarding this. 
KB> Bala


<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