• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

debian/H04-May-2006-13079

demos/H03-May-2022-897614

doc/H03-May-2022-

COPYINGH A D04-May-20061.2 KiB2419

MakefileH A D04-May-20063 KiB7816

READMEH A D04-May-20062.7 KiB6145

lua-gd.specH A D04-May-20061.3 KiB6146

luagd.cH A D04-May-200662.7 KiB2,3591,680

test_features.luaH A D04-May-2006608 2619

README

1Lua-GD, the gd bindings for the Lua Programming Language
2(c) 2004-06 Alexandre Erwin Ittner <aittner@netuno.com.br>
3
4
5+ Introduction
6
7"gd" is a C graphics library created by Thomas Boutell that allows your
8code to quickly draw complete images with lines, polygons, arcs, text,
9multiple colors, cut and paste from other images, flood fills, read in
10or write out images in the PNG, JPEG or GIF format. This is particularly
11useful in World Wide Web applications, where PNG and JPEG are two of the
12formats accepted for inline images by most browsers. gd does not provide
13for every possible desirable graphics operation. It is not necessary or
14desirable for gd to become a kitchen-sink graphics package, but it does
15include most frequently requested features, including both truecolor
16and palette images, resampling (smooth resizing of truecolor images)
17and so forth. You can get more information about gd from it's homepage.
18
19Lua-GD is a "binding": a library that exports gd functions to the Lua
20Programming Language, allowing you to use gd from Lua. The API was
21NOT literally exported, but changed in a way that make it familiar to
22Lua users.
23
24Lua-GD is a programming library, not a paint program. If you are looking
25for that or are not familiar to the Lua Programming Language, you are
26in the wrong place.
27
28
29+ Documentation
30
31See doc/index.html for installation instructions and API documentation.
32
33
34+ License
35
36Lua-GD is copyrighted free software, distributed under the MIT license
37(the same used by Lua 5.1) and it can be used at no cost for both academic
38and commercial purpouses. Or, more precisely:
39
40Permission is hereby granted, free of charge, to any person obtaining
41a copy of this software and associated documentation files (the
42"Software"), to deal in the Software without restriction, including
43without limitation the rights to use, copy, modify, merge, publish,
44distribute, sublicense, and/or sell copies of the Software, and to
45permit persons to whom the Software is furnished to do so, subject to
46the following conditions:
47
48The above copyright notice and this permission notice shall be
49included in all copies or substantial portions of the Software.
50
51THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
52EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
54IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY
55CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
56TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
57SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58
59If you use this package in a product, an acknowledgment in the product
60documentation would be greatly appreciated (but it is not required).
61