Menu
  • HOME
  • TAGS

Visual Studio 2013 and libpng [duplicate]

c,visual-studio-2013,libpng

Besides including png.h you must also link with the appropriate import library (probably called libpng.lib or something similar). In Visual Studio, you would add this to Project Settings → Linker → Input → Additional Dependencies.

Lua error loading module 'libpng' (Torch, MacOSX)

osx,lua,osx-yosemite,libpng,torch

I had a similar problem (OSX 10.9.5). You probably have multiple versions of libpng installed, with the one called during install of luarocks having architecture i386 (x86_64 required). To solve this: Try installing image again, and reading the log: luarocks install image Check the log to see if you get...

How do I use an indexed PNG image as a texture for SDL2/OpenGL

c++,opengl,sdl,sdl-2,libpng

Just convert it to the right format using SDL_ConvertSurfaceFormat()... SDL_Surface *image = ...; SDL_Surface *converted = SDL_ConvertSurfaceFormat( image, SDL_PIXELFORMAT_ARGB8888, 0); ...

Can't override libpng15 with newer install

linux,uninstall,yum,libpng

If you want libpng16 to go in your $HOME/ then, in your libpng directory, run ./configure --prefix=$HOME ./make ./make install This will install png*.h in $HOME/include/, libpng-config in $HOME/bin/, and the library itself in $HOME/lib/. If you want to put it in some other directory where you don't have write...

cmake - different library for release and debug (zlib/libpng)

cmake,zlib,libpng

Use optimized and debug directives like this SET(LIBZ_LIB optimized ${PROJECT_SOURCE_DIR}/zlib.lib debug ${PROJECT_SOURCE_DIR}/zlibd.lib) target_link_libraries(your-app ... ${LIBZ_LIB} Of course you'll have to fix the path to the library files....

import matplotlib.pyplot gives ImportError: dlopen(…) Library not loaded libpng15.15.dylib

osx,matplotlib,libpng

(sorry I can not comment yet.. so here's a new post) I had the same problem when installing another library (spynner): dlopen(…) Library not loaded libpng15.15.dylib I tried a similar method to @travelingbones's answer, and just wanted to add some notes for future readers: DYLD_LIBRARY_PATH should contain directories, not files....

GD image_png slow

php,gd,libpng

High compression on a large image takes time. There is little you can do about it. Try lower the compression level by changing: imagepng($thumbnail_gd_image, $thumbnail_image_path, 9); to imagepng($thumbnail_gd_image, $thumbnail_image_path, 8); //or another lower value ...

can not open input file libpng15-vc9.lib

visual-studio-2010,visual-c++,zlib,gdal,libpng

you should give absolute path d:/libpng-16/libpng16.lib or Add the path (d:/libpng-16) in Linker->General->Additional Library Directives The same applies for all the other libraries also. ...

Installing libpng on Mac OS X Yosemite using brew fails

osx,libpng,brew

Sourforge is currently in disaster mode... The files brew downloads are probably containing something like: <html><head> <title>Testing</title> <!-- <script src="/js/jquery.com/jquery-1.11.0.min.js"></script> --> <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script src="//sourceforge.net/js/mirrors.js"></script> <script src="/js/sf.js"></script> <script> var DR_loc = DR_parse_hash_url(); if (DR_loc) { DR_sf_main(DR_loc); } else {...

Error with homebrew + opencv + libpng

c++,osx,opencv,libpng

Homebrew should ensure that you the correct dependencies install. However, it's possible that you have more than one version of libpng16 installed at different paths. Have a look in... /usr/lib /opt/local/lib If you find any versions of the library in these locations then they may be causing the wrong one...

Node.js Imagemin on Centos

javascript,node.js,centos6,libpng,imagemin

(Problem de facto already solved in the comments - but for the sake of completion and future generations I'm posting an actual answer). Error: pngquant failed to build, make sure that libpng-dev is installed This error means that the system is lacking libpng development library, which is needed to install...

OpenCV with Ruby error

ruby,osx,opencv,homebrew,libpng

As you can see in error message (here: requires version 34.0.0 or later, but libpng16.16.dylib provides version 33.0.0) OpenCV requires libpng in version 34.00 or later (and you have 33.0.0), so you need to install newer version of this lib. If simple brew install libpng will not solve the problem...

Android studio issue with PNG

android-studio,android-gradle,libpng,aapt

Somehow your system is promoting the warnings to errors. Applications can force the sRGB-checking to be skipped by putting the following line in your application and recompiling it png_set_option(png_ptr, PNG_SKIP_sRGB_CHECK_PROFILE, PNG_OPTION_ON); as explained in the libpng manual. This checking was added at libpng version 1.6.0 and the option to skip...

libpng16.16.dylib load error when executing PHP CLI with “exec” from PHP file

php,osx,homebrew,libpng

The stat() failed with errno=13 indicates that there is a permissions error. The .dylib file should have read permissions, and the directories it is contained within should have the executable (x) bit set as well. (I think the read [r] bit should be set, too, but I'm not 100% sure.)

DownScaling Images when decoding with libPng

image,scaling,decoding,libpng,libjpeg-turbo

Libpng does not support downscaling while decoding. It is possible to achieve a power-of-two downscaling by ignoring the later passes of an interlaced PNG, however (read only the first pass for 1/8 scale, the first 3 passes for 1/4 scale, and the first 5 passes for 1/2 scale), but this...

PNG Support for Emacs

emacs,png,zlib,emacs24,libpng

From https://ftp.gnu.org/gnu/emacs/windows/ Emacs can also support some other image formats with appropriate libraries. These libraries are all available on the following sites: http://sourceforge.net/projects/ezwinports/files/ -- leaner, more up-to-date builds, only for 32-bit Emacs http://www.gtk.org/download/win32.php http://www.gtk.org/download/win64.php -- the GTK project site; offers much fatter builds, but includes 64-bit DLLs (from the 2nd...