Resizing images (jpeg or unzipped image)

In my last question, I asked if there is a better way to rotate the images than I thought. I ended up searching for jpegtran and have since found libjpeg-turbo .

Now I'm looking for a better way to resize images (jpegs) than imagemagick and graphicsmagick.

Is there a specialized command line tool for resizing images more efficiently than imagemagick or graphicsmagick? Perhaps resizing can be done on the GPU using opencl or opengl?

The equipment provided is the same as in another message:

  • Intel Atom D525 (1.8 GHz)
  • Mobility Radeon HD 5430 Series
  • 4 GB RAM
  • Vertical SSD 3
+7
source share
5 answers

Check this link: http://leocharre.com/articles/faster-image-resizing-in-linux/

In particular, the author mentions that imgresize is faster than imagemagick, and epeg is very fast.

epeg ( http://www.systhread.net/texts/200507epeg1.php ) seems to be documented enough to create thumbnails. If the quality is good enough, this may be the solution.

+5
source
  • OpenCL is the standard for cross-platform parallel programming of modern processors available on personal computers, servers and PDAs / embedded devices. It is directly supported by ATI. You will need to get the AMD APP SDK (formerly known as the AMD Stream SDK) in order to get GPU support (also check this getting started guide ).

  • Take a look at Intel IPP - Integrated Performance Performances . It is a multi-threaded feature library for multimedia and data processing applications. Among other functions, there are functions for resizing images (bilinear, nearest neighbor, etc.). Unfortunately, it is not free (the cheap version costs $ 199).

  • VIPS is a free image processing system. He claims that, compared to most image processing libraries, VIPS requires little memory and is fast, especially on machines with multiple processors. See page Speed ​​and memory usage for a simple test against other similar systems.

+3
source

In fact, you can do most of the data processing using the GIMP CLI options.

http://www.gimp.org/tutorials/Basic_Batch/

+1
source

There is also djpeg and cjpeg from an independent JPEG group that can scale and display an M / N fragment. Not perfect, but very fast.

0
source

Just use FFMpeg.exe. It can resize, convert, resize, etc. And also it works with almost all known types of video / audio / images. It also works on linux / unix, and there is open source code for it written in C ++. You can get it here (for Windows / compiled exe) or Here (source code, etc.).
If you are developing a program, I recommend that you use the standard GDIPlus library. He does everything with photos.

-one
source

All Articles