Bug 36293 - Include basic ORA rendering commandline tool
Summary: Include basic ORA rendering commandline tool
Status: NEW
Alias: None
Product: OpenRaster
Classification: Unclassified
Component: libora (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jon Nordby
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 36294 36297 36298
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-16 01:59 UTC by David Gowers
Modified: 2011-04-16 03:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
tool sourcecode, compilable with "gcc ora2png.c -lora -oora2png" (3.11 KB, text/x-csrc)
2011-04-16 01:59 UTC, David Gowers
Details
simple makefile for ora2png (49 bytes, application/octet-stream)
2011-04-16 02:00 UTC, David Gowers
Details

Description David Gowers 2011-04-16 01:59:21 UTC
Created attachment 45697 [details]
tool sourcecode, compilable with "gcc ora2png.c -lora -oora2png"

I have written an ORA to PNG rendering tool, which uses libpng and libora 
to do all the important stuff.

It currently works only for a certain subset of ORA files, due to various bugs in
libora which cause either wrong rendering or crashes for particular ORA versions written by MyPaint.

(compilation requires that you have installed libora in some
'standard' place like /usr or /usr/local)

A makefile is also attached. 

Feel free to add this to libora when libora gets to the point of handling 99% of ORA files correctly.
Comment 1 David Gowers 2011-04-16 02:00:12 UTC
Created attachment 45698 [details]
simple makefile for ora2png


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.