flowchart TB
%% ACTOR
P([**REQUESTOR**])
style P stroke:darkgreen,stroke-width:4px
%% ACTION
PROC[/PROCCESSING/]
WORK[/SERVICE PROVIDER ASSIGNMENT/]
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
| ## Add this config file to ~/.emacs.d/ direcotry | |
| ## | |
| ;; ---------- Emacs color customization ---------- | |
| ;; Make blue text easier to read on dark terminals. | |
| (custom-set-faces | |
| '(font-lock-keyword-face ((t (:foreground "DeepSkyBlue3" :weight bold)))) | |
| '(font-lock-function-name-face ((t (:foreground "cyan1")))) | |
| '(font-lock-type-face ((t (:foreground "LightGoldenrod")))) | |
| '(font-lock-comment-face ((t (:foreground "LightSalmon3" :slant italic)))) |
sequenceDiagram
Title: On-demand imaging workflow
box lightyellow
actor P as Patron
end
box white
participant OR as Owning Repository
endcurl "https://api.lib.harvard.edu/v2/items.[xml | dc | json]?recordIdentifier=[Hollis ID]"
Example, Dublin Core output: curl "https://api.lib.harvard.edu/v2/items.dc?recordIdentifier=990058255550203941"
- Download test image:
wget -O in.tif https://storage.googleapis.com/comstock.cc/icc/ICC_profile_test_image_Farbkreis_120grad.tif
- Wanna see which ICC profile is embedded in the test image,
in.tif? Run:exiftool -ProfileDescription in.tif
- Download an ICC profile:
wget -O sRGB_ICC_v4_Appearance.icc https://storage.googleapis.com/comstock.cc/icc/sRGB_ICC_v4_Appearance.icc
- Wanna extract the ICC profile from an image? Run:
convert in.tif in.icc
select regex search option
\r?\n|\r
keywords: line-feed carriage return
(Assuming the JP2 files are the only ones in the report to have delivery URNs.)
cat 1584126841-SLPC2033658088718609638479.txt | grep "JP2" | awk '{print "http://nrs.harvard.edu/" $11}' > list_of_image_URNs.txt
- The following generates a list of links to the JP2 files referenced in the report.
Install graphicsmagick, available via APT, Homebrew, or Chocolatey.
mogrify -format pdf *.jpg # produce one PDF file per JPEG image
Install pdftk, available via APT, Homebrew, or Chocolatey.
pdftk *.pdf cat output merged.pdf
NewerOlder