/usr/bin/ivgetjpg is in ivtools-bin 1.2.11a1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/bash
# ** requires w3c from w3c.org and djpeg from jpeg.org as well **
#
# ivgetjpeg
#
# bash script to download a jpeg file and import to a local drawing editor
#
# Parameters:
# $1 URL
# $2 import port on drawing editor
url=$1
importport=$2
echo import $url to port $importport
tempfile=`tmpnam`
cmapfile=`tmpnam`
stdcmapppm >$cmapfile
w3c $url >$tempfile; djpeg -map $cmapfile -dither fs -pnm $tempfile | comterp telcat localhost $importport
rm $tempfile $cmapfile
|