Bug 1286220

Summary: batik: TIFF support is not working
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: batikAssignee: Michael Simacek <msimacek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: c.david86, java-sig-commits, jvanek, mizdebsk, mpetlan, msimacek, msrb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.8-5 batik-1.8-5.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-22 22:06:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikolaj Izdebski 2015-11-27 13:32:44 UTC
Description of problem:
Batik rasterizer cannot output TIFF images.

Version-Release number of selected component (if applicable):
batik-rasterizer-1.8-3.fc23.noarch

Steps to Reproduce:
rasterizer -m image/tiff image.svg

Actual results:
About to transcode 1 SVG file(s)

Converting image.svg to image.tif ... org.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
Could not write TIFF file because no WriteAdapter is availble
	at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:132)
	at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
	at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
	at org.apache.batik.apps.rasterizer.SVGConverter.transcode(SVGConverter.java:1001)
	at org.apache.batik.apps.rasterizer.SVGConverter.execute(SVGConverter.java:717)
	at org.apache.batik.apps.rasterizer.Main.execute(Main.java:938)
	at org.apache.batik.apps.rasterizer.Main.main(Main.java:992)
... error (SVGConverter.error.while.rasterizing.file)

Comment 1 Mikolaj Izdebski 2015-11-27 15:51:11 UTC
What about other batik apps? Eg. run squiggle, open SVG and try to export it as TIFF - it creates zero-sized file.

Comment 2 Michael Simacek 2015-11-30 10:22:57 UTC
I didn't know squiggle can export raster images, sorry. I'll add it to all scripts to be sure.

Comment 3 Michael Simacek 2015-12-03 14:46:48 UTC
*** Bug 976384 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2015-12-04 11:29:33 UTC
batik-1.8-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-4ee96847a9

Comment 5 Fedora Update System 2015-12-04 16:51:03 UTC
batik-1.8-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update batik'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-4ee96847a9

Comment 6 Fedora Update System 2015-12-22 22:06:14 UTC
batik-1.8-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.