echo -n | md5sum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| opj_compress -i <input.tif> -o <output.jp2> -p RLCP -t 1024,1024 -EPH -SOP -OutFor jp2 -I -q 42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pacman::p_load( | |
| readr, | |
| httr, | |
| jsonlite, | |
| curl, | |
| stringr, | |
| dplyr, | |
| xtable, | |
| formattable, | |
| htmlTable, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| exiftool -ext tif -tagsfromfile @ -srcfile %f.jp2 [directory name] -XMP:format= -ImageHistory='Image technical metadata values were copied (via exiftool) from a source image to this derivative JP2 copy.' -overwrite_original |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jpylyzer *jp2 | grep --extended-regexp "<isValid format=\"jp2\">True</isValid>" | wc --lines |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update; sudo apt-get upgrade -y ;sudo apt-get install -y curl zstd webp glabels lynx cifs-utils gpa gnupg2 libpam-google-authenticator network-manager-openconnect-gnome build-essential libjpeg-dev default-jre network-manager-vpnc network-manager-vpnc-gnome tree liblcms2-dev libtiff-dev libpng-dev libopenjp2-tools enscript libtiff-tools imagemagick jasper httpie cups cmake imagemagick leptonica-progs autoconf-archive libpng-dev libleptonica-dev tesseract-ocr golang-go hugo pandoc shotwell tesseract-ocr-all graphicsmagick feh autokey-gtk gimp liblcms2-dev libtiff-dev libpng-dev libz-dev git maven file default-jdk openssh-server python3-jpylyzer pqiv p7zip-full net-tools xterm git-lfs tasksel slim lightdm ; sudo tasksel install lubuntu-core libheif1 libheif-dev | |
| # Installing X11 on Linux, see: https://phoenixnap.com/kb/how-to-install-a-gui-on-ubuntu | |
| sudo apt-get install curl -y ; export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"; echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_R |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gm mogrify -format tif -compress none -define tiff:bits-per-sample=8 *.tif | |
| mogrify -format tif -depth 8 *.tif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Identify all files and subdirectories within ~/images dir, generate md5 checksums for each file and save output as CSV | |
| sf -hash md5 -csv ~/images > ~/images/sf.csv |
OlderNewer