Supporting HEIC writing with ImageMagick on Windows - imagemagick

According to the ImageMagick web site, HEIC is supported for writing:
https://imagemagick.org/script/formats.php
I have downloaded and compiled ImageMagick as per instructions at:
https://github.com/ImageMagick/ImageMagick-Windows
I then checked format support using:
"C:\ImageMagick-7.1.0-Q16\magick.exe" -list format |grep HEIC
Which returns:
AVIF HEIC rw+ AV1 Image File Format (1.14.2)
HEIC HEIC r-- High Efficiency Image Format (1.14.2)
HEIF HEIC r-- High Efficiency Image Format (1.14.2)
1.14.2 appears to be the most recent version of LibHeif, which purportedly supports encoding:
https://github.com/strukturag/libheif
What am I missing?

Related

imagemagick php HEIC

I have an ubuntu 2.0 with NGINX and imagemagick 7 running, I was able to get HEIC support in imagemagick and can convert an HEIC file at the prompt, but php still throws an error imagemagick can not support HEIC files. Any ideas?
I ended up re-installing PHP ImageMagick extension with PECL and it worked

Unable to read TIFF image using opencv-python

I am using the opencv with following config:
opencv-python == 3.4.3
python version --> 3.6
os --> Windows 10
I am trying to read a TIFF image using cv2.imread() function but am getting "None" as response. Below is the code I am trying with:
import cv2
img = cv2.imread('abc.tif', cv2.IMREAD_UNCHANGED)
print(img)
The result of this script is None.
I have verified that the given image is available at the required path. The same code works when I try to read a PNG file. I am guessing the problem is with TIFF format. Also, it used to work well with Python 2.7. I recently upgraded to Python 3.6 and since then am having this problem.
I also had this issue in opencv-python 3.4.3.
According to the maintainer of opencv-python, it was an opencv issue, not an opencv-python issue https://github.com/skvark/opencv-python/issues/130. However, the issue seems to be resolved in opencv-python 3.4.5.
So the solution is to upgrade opencv-python.

Rails - Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: ImageMagick/GraphicsMagick is not installed

So I have image uploading to google cloud storage working fine with carrierwave. Now I want to have all images converted to .png using minimagick. I added the mini_magic gem and tested it out on my mac and it works fine. When I deployed the changes and tested it in production I get the error:
Value Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: ImageMagick/GraphicsMagick is not installed
I'm using a Google Cloud Publisher VM on the flexible environment. So I connected it via SSH and ran sudo apt-get install imagemagick. It finished and it looks like imagemagick installed successfully.
root#cs-6908-devshell-vm-5a72c8c9-d84d-4072-a5ba-29d989ab6282-131:/home/user# convert -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-06-01 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
Problem is that I still get the same error. I've seen this problem in other questions but there were for mac and windows.

iOS command line tool to convert jpeg to png?

I am looking for a command line tool to use in my bash script that converts a jpg image to a png one.
Thx!
edit: to be clear, the platform the script runs on is iOS. So I am looking for a binary that's compiled for the ARM plaform.
Since you mentioned iOS, I assume you are using Mac OSX. If so, you can install ImageMagick via Homebrew or MacPorts and use the following command in your script
convert my_image.jpg my_image.png
ImageMagick is a powerful tool for manipulating all sorts of images. Check out the documentation if you wish to go a bit more advanced

Open source package for reading BigTIFF format

I need a free program or library for cropping a huge Geo TIFF file. It is in BigTIFF format. libtiff doesn't support the format.
Linux or Windows OS.
Use GDAL's gdal_translate:
gdal_translate -projwin $x1 $y1 $x2 $y2 $infile.tif $outfile.tif
In the package gdal-bin under Debian Linux (squeeze or higher).

Resources