====== Something relative to image processing ====== ===== Image formats ===== * [[habrahabr>275735|Используем WebP сегодня]] * [[http://flif.info/|FLIF]] -- Free Lossless Image Format * [[habrahabr>278745|FLIF — свободный формат сжатия изображений]] * [[http://bellard.org/bpg/|BPG Image format]], [[http://xooyoozoo.github.io/yolo-octo-bugfixes/|nice visual comparison]] * [[http://www.qualvisual.net/Lucid.php|Lucid image data compression]] * [[habrahabr>305740|Свободный формат Lepton сжимает файлы JPEG на 22% без потерь]] * [[http://frdx.free.fr/png_vs_webp.htm|PNG vs WebP image size comparison]] * [[stackoverflow>19153122|Image command line compression tools]] ===== Image optimization ===== JPEG optimization: * [[https://blog.mozilla.org/research/2014/03/05/introducing-the-mozjpeg-project/|Introducing the ‘mozjpeg’ Project]] * [[https://mozjpeg.codelove.de/binaries.html|mozjpeg binaries]] * [[https://forum.xnview.com/viewtopic.php?f=34&t=31142#p125069|mozjpeg plugin initiative for XnView]] # apt-get install cmake nasm $ git clone https://github.com/mozilla/mozjpeg.git $ cd mozjpeg $ cmake . $ make all install * [[stackoverflow>985725|Tools for JPEG optimization]], [[stackoverflow>36046782|jpegoptim vs jpegtran vs mozjpeg]] None of the modern browsers support arithmetic-encoded JPEGs, see [[mozillatracker>680385|Firefox does not show arithmetic coded JPEGs]]. PNG optimization: * [[habrahabr>303842|Нейронная сеть как предиктор для кодирования изображений формата PNG]] * [[http://optipng.sourceforge.net/pngtech/optipng.html|A guide to PNG optimization]] * ''optipng -o7 $file && advpng -z -4 $file'' ^ Project ^ Debian packages ^ Comments ^ | [[http://css-ig.net/pingo|pingo]]((Former [[https://www.raymond.cc/blog/4-free-tools-to-optimize-and-compress-png-images-without-loosing-quality/|ScriptPNG]])) | :NO: | | | [[sourceforge>pmt|pmt]] | :NO: | | | [[https://pngquant.org/|pngquant]] | :YES:[[https://packages.debian.org/stretch/pngquant|site]] | | | [[sourceforge>optipng|optipng]] | :YES:[[https://packages.debian.org/stretch/optipng|site]] | Lossy compression of PNG images | | [[http://www.advancemame.it/|AdvanceCOMP]] | :YES:[[https://packages.debian.org/stretch/advancecomp|site]] | Takes advantage of [[wp>7-Zip]] and [[wp>Zopfli]] [[wp>DEFLATE]] encoders which are 5-10% more effective that [[wp>zlib]] | | [[https://pngmini.com/lossypng.html|PNG lossy averaging filter]] | :NO: | Optimized lossy PNG is still a bit larger than lossy JPEG-XR/WebP/JPEG-2K, but unlike these formats it's supported by all browsers | Comparison: * [[https://libjpeg-turbo.org/About/Performance|Performance of libjpeg-turbo]] ===== Software ===== * [[http://www.picmonkey.com/|PicMonkey]] -- free online image editing service ==== Panorama software ==== * [[https://www.microsoft.com/en-us/research/product/computational-photography-applications/image-composite-editor/|Image Composite Editor]] * [[SourceForge>hugin|Hugin]] -- Panorama photo stitcher ===== Questions answered ===== === How to open Nikon NEC files with PhotoShop? === You need to install [[http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Windows|Adobe Camera Raw and DNG Converter]]. The latest version for PhotoShop CS4 was DNG Converter v5.7. In order to learn the version of DNG Converter you need check the list of supported cameras [[http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html|here]]. === How to enable thumbnail generation for ''.psd'' files? === Check [[http://www.josh.biz/technical-notes/view-thumbnail-images-for-photoshop-psd-files-in-windows/|here]]. === How to convert PDF to the series of JPEG files? === One can use [[http://www.imagemagick.org/script/convert.php|ImageMagic ''convert'' utility]] (or one from [[http://www.graphicsmagick.org/convert.html|GraphicsMagic]]) for that (see [[stackoverflow>9710118|Convert multipage PDF to PNG and back]]): ''%%convert in.pdf -compress jpeg -quality 90 -density 600x600 +adjoin -scene 1 out-%d.jpg%%''((One need to double the percentage ''%'' when using in batch file)) but it generates low resolution images. Alternatively use [[SourceForge>ghostscript|Ghostscript]] (see [[superuser>168444|Using Ghostscript to convert multi-page PDF into single JPG]] and [[stackoverflow>11002982|Converting multi-page PDFs to several JPGs using ImageMagick and/or GhostScript]]): ''gswin32c.exe -dBATCH -dNOPAUSE -dSAFER -sDEVICE=jpeg -dJPEGQ=95 -r600x600 -sOutputFile=out-%03d.jpg in.pdf''((One need to double the percentage ''%'' when using in batch file))