readAllDimensions

command
Version: v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

readAllDimensions prints out all the dimensions of images in a given directory and returns all images that are larger than 104x104px as well as the images that have the largest width and height.

Usage

dir is a directory.

./readAllDimensions dir

Execution

If dir cannot be opened or if there are no parameters the program will terminate. If there are multiple arguments provided it will only use the first one.

Known issues

The 104x104px limit is a constant which it needs not be. A flag can be implemented which can change the threshold. Some of the functions used in this script can be used for other projects but that has not been done. Nevertheless, I have to admit that this script and its files are sloppily written and need to be reworked in the future.

License

readAllDimensions is part of Project Sonchou, which is released under the MIT license. See https://gitlab.com/melancholera/sonchou for more information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL