Skip to content

drew-bell/sod2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sod2png

Dependencies
------------
cairo library
svg-cairo library
libxml2 library

Currently it has only been tested on OS X 10.6.3.

This program takes one of the sod files from kanjisod.kicks-ass.net and alters it to desired style before outputting to the file to a png image.

This is a beta release! Use at your own risk.

To build the code if you have all the dependencies just run

./make

There is no install option yet.

For information on usage, see the help output from the program
./sod2png --help

The code for the rendering to png was almost directly copied from svg2png. 

Becasue of that, below is their Copyright notice

/* svg2png - Render an SVG image to a PNG image (using cairo)
 *
 * Copyright © 2002 USC/Information Sciences Institute
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * and its documentation for any purpose is hereby granted without
 * fee, provided that the above copyright notice appear in all copies
 * and that both that copyright notice and this permission notice
 * appear in supporting documentation, and that the name of
 * Information Sciences Institute not be used in advertising or
 * publicity pertaining to distribution of the software without
 * specific, written prior permission.  Information Sciences Institute
 * makes no representations about the suitability of this software for
 * any purpose.  It is provided "as is" without express or implied
 * warranty.
 *
 * INFORMATION SCIENCES INSTITUTE DISCLAIMS ALL WARRANTIES WITH REGARD
 * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL INFORMATION SCIENCES
 * INSTITUTE BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
 * OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
 *
 * Author: Carl Worth <[email protected]>
 */

About

The program for converting the sod files to png's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published