Skip to main content

Warning: count(): Parameter must be an array or an object that implements Countable in C:\home\site\wwwroot\gs\plugins\i18n_navigation\frontend.class.php on line 219

Image Tools

Creating thumbnails

ls *.jpg | xargs -I {} convert -thumbnail 200 {} ./thumbs/{}

or

ls *.jpg | xargs -I {} convert -thumbnail 200 {} thumbs.{}

Find duplicate images

  1. Install findimagedupes
    sudo apt-get install findimagedupes
  2. Navigate to a directory and run
    findimagedupes ./ > ~/Desktop/Dupes.txt

For easy image browsing, transform file to gThumb catalog format and place inside ~/.local/share/gthumb/catalogs/anyname.catalog

gThumb catalog format example

<?xml version="1.0" encoding="UTF-8"?>
<catalog version="1.0">
  <files>
    <file uri="file:///home/user/Desktop/image1.png"/>
    <file uri="file:///home/user/Desktop/image2.png"/>
  </files>
</catalog>