Questions tagged [libpng]

libpng is the official PNG reference library, supporting most all of PNG's features, is extensible, and has been widely used and tested for over twenty years.

libpng is the official PNG reference library, that allows you to read, manipulate and write .png datastreams. It supports almost all PNG features, is extensible, and has been extensively tested for over twenty years.

libpng is a platform-independent library containing ANSI C (C89) source code. It requires zlib 1.0.4 or later (1.2.8 or later recommended) to be used.

For more information, visit the libpng website, sourceforge.io page where the source is available, the libpng manual or the Wikipedia page.

579 questions
-1
votes
1 answer

can not open input file libpng15-vc9.lib

I am setting up my GDAL 1.8.0 Project in Visual Studio 2010 Windows, I am on way to add libpng to project. My libpng release libs are under following folder... They are successfully built with zlib in this folder, as you can see there are no files…
prem30488
  • 2,749
  • 2
  • 19
  • 53
-1
votes
1 answer

libpng error: IDAT: invalid distance too far back in MAC OSX 10.9

I've installed opencv2.4.9 with libstdc++ through brew install opencv in MAC OSX 10.9. I try to imread an image from INRIA pedestrian database. The problem is that when I use opencv to read the PNG format image, I always get this error: libpng…
coldmoon
  • 33
  • 6
-1
votes
1 answer

libpng error undefined symbol png_read_image in unix

libpng error undefined symbol png_read_image in unix i'm developing a program with C language in unix sco open server 5.0.7 and now, i need to use libpng in my project to load a png file when i include in my code (png.h and code are in same…
Farrokh
  • 1,109
  • 1
  • 7
  • 18
-1
votes
1 answer

Converting bmp to png - Access violation writing location

How to convert bmp to png properly? I was using this code: #define WIN32_LEAN_AND_MEAN #define _CRT_SECURE_NO_DEPRECATE #include #include #include #include void GetDesktopResolution(int& horizontal, int&…
user3471387
  • 287
  • 3
  • 7
  • 10
-1
votes
2 answers

undefined reference to `png_read_info'

Im trying to compile source code, but receive: undefined reference topng_read_info' File header: #include "PngImage.hh" #include #include #include #include My compiler settings: …
native1989
  • 95
  • 2
  • 10
-2
votes
1 answer

Segmentation fault (core dumped) error, when use boundary fill algorithm in C

when i use boundary fill algorith(in C) i have an Segmentation fault (core dumped) error. Do you know why it doesnt work? void boundaryFill(int x, int y, png_byte cr, png_byte cg, png_byte cb, png_byte cfr, png_byte cfg, png_byte cfb) { …
-2
votes
3 answers

unable to install libpng12-0 on kali

I am using the latest version of Kali. I installed the Cisco Packet Tracer version 7.2. I ran it I got this error ./PacketTracer7: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or…
Alireza Mn
  • 91
  • 1
  • 2
  • 11
-2
votes
3 answers

How should I use libpng library to convert RGBA bitmap into PNG and PNG back to RGBA bitmap

I try to use libpng library, and I encounter problem with it. I am using CLion now, and try to include this libpng library in my project. The problem is rather with configuration of this library to use it in my project than using this library. I…
Michał Ziobro
  • 7,390
  • 6
  • 50
  • 99
-4
votes
1 answer

Loading png image texture from char array or QByteArray with libpng

I have the image data as QByteArray. I want to load the texture of this image from that data using libpng. Everywhere I see reading the image texture from the file or from input stream. But how can I load the image from the QByteArray?? Thanks.
Tahlil
  • 2,550
  • 4
  • 36
  • 71
1 2 3
38
39