Giter Site home page Giter Site logo

imageio-binaries's Introduction

imageio-binaries
================

Repo to place the (relatively small) binary libraries 

The distribution of these precompiled binaries of the FreeImage library is
governed by the FreeImage license, included here as "license-fi.txt".

The original source code is available from http://freeimage.sourceforge.net/ 
No modifications to this code have been made beyond compilation for various
platforms / architectures.

Win32 version from Freeimage project.
Win64 version from http://imageresizing.net/plugins/freeimage

imageio-binaries's People

Contributors

addisonelliott avatar ai-himmel avatar almarklein avatar blink1073 avatar firefoxmetzger avatar jni avatar joesingo avatar odidev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

imageio-binaries's Issues

Unable to download 'libfreeimage-3.16.0-osx10.6.dylib' using imageio.plugins.freeimage.download()

I am trying to read *.hdr image using imageio python library. I am using the free image plugin for imageio in order to do this.

imageio.plugins.freeimage.download()

However I get the following error even though I am connected to the internet.

Ascertaining binaries for: freeimage.
Imageio: 'libfreeimage-3.16.0-osx10.6.dylib' was not found on your computer; downloading it now.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/imageio_download_bin", line 8, in <module>
    sys.exit(download_bin_main())
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/__main__.py", line 95, in download_bin_main
    download_bin(plugin_names=args.plugin, package_dir=args.package_dir)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/__main__.py", line 61, in download_bin
    mod.download(directory=directory)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/plugins/_freeimage.py", line 66, in download
    get_remote_file(fname=fname, directory=directory, force_download=force_download)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 128, in get_remote_file
    _fetch_file(url, filename)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 187, in _fetch_file
    % os.path.basename(file_name)
OSError: Unable to download 'libfreeimage-3.16.0-osx10.6.dylib'. Perhaps there is a no internet connection? If there is, please report this problem.

Development environment

MacOS 11.2.1

I even tried manually downloading the file from github but did not succeed
in reading the HDR files.

ffmpeg-win64-v4.2.2.exe printing a line of text when playing

Hello,
I have a question about the ffmpeg.exe file. I wrote a discord bot using discord.py, which plays audio when somebody joins a channel. I want that program to run in the background, so i use a .bat and a .vbs file so no command prompt appears when starting the script. Everytime the bot creates an audio source from mp3 files, it prints out a line "[mp3 @ 0000020168869040] Estimating duration from bitrate, this may be inaccurate". Therefore a console windows opens for 1sec to display this message and closes afterwards, which is really annoying. I use the ffmpeg-win64-v4.2.2.exe file with the discord.py lib to return an audio source, which can be played later "audio_source = discord.FFmpegPCMAudio(executable="E:/PythonPrograms/DiscordBotHallo/Dateien/ffmpeg-win64-v4.2.2.exe", source=source)". I actually dont know if this line of text comes from the ffmpeg .exe file or from the discord.py lib itself, but i got no answer on the discord server of the discord.py lib so i thought i ask my question where i downloaded the .exe file.
So if this message come from the .exe file. Is there a way to prevent this, so i can run my program in the background without any console window appearing?
Thanks
Cookie

my code if needed:
main.txt

ValueError: Could not find a backend to open `50rgb.exr`` with iomode `wi`.

Guys I would like to save an 16 rgb bit array as .exr with imageio

		rgb_array = np.zeros((760, 1016, 3), dtype=np.uint16)
		rgb_array[:, :, 0] = array16[1::2, 1::2] # red
		# Must avoid overflowing 16-bits in the addition here:
		rgb_array[:, :, 1] = (array16[0::2, 1::2].astype(int) + array16[1::2, 0::2]) / 2 # green
		rgb_array[:, :, 2] = array16[0::2, 0::2] # blue

		imageio.imwrite(f'{exp}rgb.exr', rgb_array)

Build process for generating these binaries

It would be useful to have scripts included here to regenerate these binaries.

That would allow other people to see what is needed to build there own compatible libraries, and also allow auditing that these generated binaries are reproducible , ensuring they are accurate builds without any injected code.

Missing arm64 libfreeimage dylib(for Mac OS X - M1, M2 Silicon)

On imageio/core/findlib.py, load_lib function, Occur Exception below.

---------- ERROR LOG -----------
One or more freeimage libraries were found, but could not be loaded due to the following errors:
/User/###### PERSONAL PATH ###### /libfreeimage.dylib:
dlopen(/Users/###### PERSONAL PATH ###### /libfreeimage.dylib, 0x0006): tried: '/Users/###### PERSONAL PATH ###### /libfreeimage.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/###### PERSONAL PATH ###### /libfreeimage.dylib' (no such file), '/Users/###### PERSONAL PATH ###### /libfreeimage.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/Users/###### PERSONAL PATH ###### /libfreeimage-3.16.0-osx10.6.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/###### PERSONAL PATH ###### /libfreeimage-3.16.0-osx10.6.dylib' (no such file), '/Users/###### PERSONAL PATH ###### /libfreeimage-3.16.0-osx10.6.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
------------------------------------

As you know, that dylib build by x86_64.
But, Apple silicon need arm64 binary library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.