pngwriter-0.4.6
所属分类:图形图象
开发工具:C++
文件大小:639KB
下载次数:29
上传日期:2004-10-11 00:46:22
上 传 者:
hayeszhong
说明: a easy way to create png files
文件列表:
pngwriter-0.4.6 (0, 2004-09-01)
pngwriter-0.4.6\configure (535, 2004-08-31)
pngwriter-0.4.6\doc (0, 2004-09-01)
pngwriter-0.4.6\doc\english (0, 2004-09-01)
pngwriter-0.4.6\doc\english\CHANGES (7572, 2004-09-01)
pngwriter-0.4.6\doc\english\EXAMPLES (820, 2004-08-31)
pngwriter-0.4.6\doc\english\LICENSE (17502, 2004-08-31)
pngwriter-0.4.6\doc\english\PNGwriterQuickReference_EN.pdf (138690, 2004-08-31)
pngwriter-0.4.6\doc\espaniol (0, 2004-09-01)
pngwriter-0.4.6\doc\espaniol\CAMBIOS (7921, 2004-08-31)
pngwriter-0.4.6\doc\espaniol\EJEMPLOS (809, 2004-08-31)
pngwriter-0.4.6\doc\espaniol\LEAME (6842, 2004-08-31)
pngwriter-0.4.6\doc\espaniol\LICENCIA (22867, 2004-08-31)
pngwriter-0.4.6\doc\espaniol\PNGwriterQuickReference_ES.pdf (148478, 2004-08-31)
pngwriter-0.4.6\examples (0, 2004-08-31)
pngwriter-0.4.6\examples\burro.png (193535, 2004-08-31)
pngwriter-0.4.6\examples\lyapunov.cc (16827, 2004-08-31)
pngwriter-0.4.6\examples\lyapunov.espaniol.cc (16277, 2004-08-31)
pngwriter-0.4.6\examples\Makefile (6346, 2004-08-31)
pngwriter-0.4.6\examples\pngtest.cc (9171, 2004-08-31)
pngwriter-0.4.6\examples\pngtest.espaniol.cc (8923, 2004-08-31)
pngwriter-0.4.6\fonts (0, 2004-08-31)
pngwriter-0.4.6\fonts\FreeMonoBold.ttf (175016, 2004-08-31)
pngwriter-0.4.6\fonts\FreeSansBold.ttf (91432, 2004-08-31)
pngwriter-0.4.6\make.include (18, 2004-09-01)
pngwriter-0.4.6\make.include.linux (911, 2004-08-31)
pngwriter-0.4.6\make.include.linux.oldcpp (925, 2004-08-31)
pngwriter-0.4.6\make.include.osx (985, 2004-08-31)
pngwriter-0.4.6\Makefile (4671, 2004-08-31)
pngwriter-0.4.6\src (0, 2004-08-31)
pngwriter-0.4.6\src\Makefile (891, 2004-08-31)
pngwriter-0.4.6\src\pngwriter.cc (107156, 2004-08-31)
pngwriter-0.4.6\src\pngwriter.h (33654, 2004-08-31)
########################## PNGwriter #########################################
#
# Website: Main: http://pngwriter.sourceforge.net/
# Sourceforge.net: http://sourceforge.net/projects/pngwriter/
# Freshmeat.net: http://freshmeat.net/projects/pngwriter/
#
# Author: Paul Blackburn
#
# Email: individual61@users.sourceforge.net
#
# Version: 0.4.6 (31 / VIII / 2004)
#
# Description: Library that allows plotting a 48 bit
# PNG image pixel by pixel, which can
# then be opened with a graphics program.
#
# License: GNU General Public License
# (C) 2002, 2003, 2004 Paul Blackburn
##########################################################################
PNGwriter
Copyright 2002, 2003, 2004 Paul Blackburn
#######################################################################
IMPORTANT - IMPORTANTE
The Spanish README and documentation can be found in doc/espaniol
El archivo LEAME y la documentacion en castellano esta en doc/espaniol
#######################################################################
#######################################################################
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#######################################################################
CONTACTS
Author's Email: individual61@users.sourceforge.net
Home page: http://pngwriter.sourceforge.net/
Sourceforge.net project page: http://sourceforge.net/projects/pngwriter/
Freshmeat.net project page: http://freshmeat.net/projects/pngwriter/
INTRODUCTION
Hi. Thanks for downloading PNGwriter. I hope you find it
useful. See doc/english/CHANGES to see what's new.
REQUIREMENTS
LibPNG (http://www.libpng.org/)
PNGwriter requires a properly installed libpng in order to work.
Freetype 2 (http://www.freetype.org)
PNGwriter uses FreeType 2 to render antialiased text with kerning, but
it can be compiled without support for this. See below.
Fonts
If you are going to use PNGwriter's plot_text() function to plot text,
then you'll need a TrueType font file. PNGwriter installs a few from
the Free UCS Outline Fonts Project (http://savannah.nongnu.org/projects/freefont)
in /usr/local/share/pngwriter/fonts, to get you started.
INSTALLATION
Before you do anything, check the 'make.include' file and make sure it is a
symbolic link to either one of 'make.include.linux' or
'make.include.osx'.
The current setting to 'make.include.linux' should cover most systems.
If you have an OS X system with libpng and FreeType2 installed via Fink, use
'make.include.osx'.
If you are using an old compiler, you may want to use
'make.include.linux.oldcpp', or alter your own makefile by adding
-DOLD_CPP to the compiler flags.
If you wish to compile PNGwriter without FreeType2 support, then open
make.include with your text editor and uncomment the line that says
# P_FREETYPE = 1
Note that every time you compile a project that uses PNGwriter, and
PNGwriter has been compiled without FreeType2 support, you will have to
add -DNO_FREETYPE to your compilation flags.
After this, type
make
and then, as Root, type
make install
This will install:
- libpngwriter.a in /usr/local/lib
- pngwriter.h in /usr/local/include
- The documentation in /usr/local/share/doc/pngwriter/doc/
- The examples in /usr/local/share/doc/pngwriter/examples/
- A few fonts in /usr/local/share/pngwriter/fonts
Look in examples/ for two examples of PNGwriter's use, and in
doc/english/EXAMPLES for an explanation.
SUPPORT
For examples, a FAQ, etc, take a look at the PNGwriter Home page:
http://pngwriter.sourceforge.net/
If you have a problem or a suggestion, you can use the support forum at
http://sourceforge.net/projects/pngwriter/
You can also join the mailing list, available at the above address, or you
can email me at the address shown in the header. I would really like to hear
from you and what you are using PNGwriter for.
LEGAL
This library and its code are distributed under the GNU General
Public License. The complete text of the license is included in this
distribution.
UPDATES
New versions will appear from time to time so check the web page.
http://sourceforge.net/projects/pngwriter/
You can also stay updated by checking PNGwriter's freshmeat.net page:
http://freshmeat.net/projects/pngwriter/
WHAT'S IN THIS RELEASE?
pngwriter-0.4.1
|-- Makefile
|-- README
|-- configure
|-- doc
| |-- english
| | |-- CHANGES
| | |-- EXAMPLES
| | |-- LICENSE
| | |-- PNGwriterQuickReference_EN.pdf
| | `-- README
| `-- espaniol
| |-- CAMBIOS
| |-- EJEMPLOS
| |-- LEAME
| |-- LICENCIA
| `-- PNGwriterQuickReference_ES.pdf
|-- examples
| |-- Makefile
| |-- burro.png
| |-- lyapunov.cc
| |-- lyapunov.espaniol.cc
| |-- pngtest.cc
| `-- pngtest.espaniol.cc
|-- fonts
| |-- FreeMonoBold.ttf
| `-- FreeSansBold.ttf
|-- make.include -> make.include.linux
|-- make.include.linux
|-- make.include.linux.oldcpp
|-- make.include.osx
`-- src
|-- Makefile
|-- pngwriter.cc
`-- pngwriter.h
THANKS
In no particular order, thanks to
> Xavier Andrade, Debian Package Maintainer
> Andres Kievsky
> Jorgen Pehrson, for the settext() function.
> Nadav Rotem, for suggesting the bezier() function.
> Jeramy Webb (jeramyw@gmail.com), for his generosity.
> Mike Heller (mkheller@gmail.com), for his generosity.
> Benjamin Raskob, for bringing to my attention the need for a resize() function.
> Dr John Charlery, for his continued support with the Windows-specific documentation.
Have fun and tell me what you're up to!
Paul Blackburn
individual61@users.sourceforge.net
近期下载者:
相关文件:
收藏者: