#!\bin\sh # ####################################### # itstat # # Purpose: Displays the resolution of an image file and some other # lines of information. It accepts a list of image files as arguments # (i.e., "itstat FILE1 FILE2 ..."), and its output looks like this: # # File: pet_mocap_comp_v1_tvfa_vd8.1713.jpg # Resolution: 720 x 547 # Channels: 3 # Channel Types: RGB without Alpha # Bit Depth: 8 # ####################################### echo "File: $1" echo "Resolution: ***" echo "Channels: ***" echo "Channel Types: ***" echo "Bit Depth: ***"