Поиск
Партнеры
globalgruz
перевозки мебели
globalgruz.by

A description on how to use and modify libpng Randers-Pehrson G.

Краткое описание

Randers-Pehrson G.
Год: 1999
Язык: Английский
Формат: CHM / RAR

Формат файла: RAR

Полное описание

This file describes how to use and modify the PNG reference library (known as libpng) for your own use. There are five sections to this file: introduction, structures, reading, writing, and modification and configuration notes for various special platforms. In addition to this file, example.c is a good starting point for using the library, as it is heavily commented and should include everything most people will need. We assume that libpng is already installed; see the INSTALL file for instructions on how to install libpng.
Libpng was written as a companion to the PNG specification, as a way of reducing the amount of time and effort it takes to support the PNG file format in application programs. The PNG specification is available as RFC 2083 ftp://ftp.uu.net/graphics/png/documents/ and as a W3C Recommendation http://www.w3.org/TR/REC.png.html. Some additional chunks are described in the special-purpose public chunks documents at ftp://ftp.uu.net/graphics/png/documents/. Other information about PNG, and the latest version of libpng, can be found at the PNG home page, http://www.cdrom.com/pub/png/.
Most users will not have to modify the library significantly; advanced users may want to modify it more. All attempts were made to make it as complete as possible, while keeping the code easy to understand. Currently, this library only supports C. Support for other languages is being considered.
Libpng has been designed to handle multiple sessions at one time, to be easily modifiable, to be portable to the vast majority of machines (ANSI, K&R, 16-, 32-, and 64-bit) available, and to be easy to use. The ultimate goal of libpng is to promote the acceptance of the PNG file format in whatever way possible. While there is still work to be done (see the TODO file), libpng should cover the majority of the needs of its users.
Libpng uses zlib for its compression and decompression of PNG files. Further information about zlib, and the latest version of zlib, can be found at the zlib home page, http://www.cdrom.com/pub/infozip/zlib/. The zlib compression utility is a general purpose utility that is useful for more than PNG files, and can be used without libpng. See the documentation delivered with zlib for more details. You can usually find the source files for the zlib utility wherever you find the libpng source files.
Libpng is thread safe, provided the threads are using different instances of the structures. Each thread should have its own png_struct and png_info instances, and thus its own image. Libpng does not protect itself against two threads using the same instance of a structure.

Файлы по теме
  • Prefactoring Pugh K.
    More often than not, developers will stop a large project in the middle of the build stage to rethink and recode the software design so it's cleaner and more efficient Known as "refactoring," this process eats up valuable time and money To help offset refactoring, this book presents a new process called "prefactoring," the premise of which states that you're better off considering the best possible design patterns before you even begin your project
  • The human interface. New directions for designing interactive systems Raskin J.
  • Teach yourself Gimp in 24 hours Pruitt J.
    GIMP It allows developers from all over the Internet to view, study, alter, revise, and improve the code in a dynamic way, with celerity and quality that is simply unmatched by private companies alone, which are staffed with limited numbers of developers and motivated only by immediate marketability
  • Visualising with VTK. A tutorial Schroeder W.J.
    In this tutorial we introduce basic concepts behind the Visualization Toolkit (VTK) An overview of the system, plus some detailed examples, will assist you in learning this system The tutorial targets researchers of any discipline who have 2D or 3D data and want more control over the visualization process than a turn-key system can provide
Файл скачан 0 раз
Голосовать за файл
 
 
Скачивание файлов доступно только зарегистрированным пользователям.
Комментарии к файлу

Написать ответ
Ваше имя

Ваш e-mail

Сообщение

Введите текст, который вы видите на картинке слева.

Регистр не важен. Нажмите, если не можете прочитать

Предварительный просмотр