Skip to content

Script that convert and replace .tif files to .jpg files

Notifications You must be signed in to change notification settings

msergiy87/convert-photo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

convert-photo

Task

Create script to convert photo (.tif files) to .jpg files.

ATTENTION, script will REPLACE .tiff files !!!

Requirements

  • convert

'''sudo apt-get install imagemagick'''

Distros tested

Currently, this is only tested on ubuntu 16.04. It should theoretically work on older versions of Ubuntu or Debian based systems.

Usage

Just change variable in your copy of script SOURCE_FOLDER="/path/to/somefolder". After that run script.

Source folder with Album folders - "/path/to/somefolder". We convert and replace .tiff files.

Also we create log files - "/tmp/convert_files.log" and "/tmp/cm_convert.log".

  • recode - function that convert all .tiff files in every folder.

About

Script that convert and replace .tif files to .jpg files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages