# Frame buffer library table for handling file types not in the frame
# PRISMS buffer library
# Each line must contain 3 strings seperated by white space:
#  file_extension read_command write_command
# The read_command must be able to read from a named file and write
#	prisms format to stdout
# The write_command must be able to read prisms format on stdin and write
#	to a named file
# Use %s in the command strings to designate the named file.

.si  "exec fsi %s stdout" "exec fsi stdin %s"
.jpg  "exec fjpeg %s stdout" "exec fjpeg stdin %s"
.JPG  "exec fjpeg %s stdout" "exec fjpeg stdin %s"
.jpeg "exec fjpeg %s stdout" "exec fjpeg stdin %s"
.JPEG "exec fjpeg %s stdout" "exec fjpeg stdin %s"
.ice  "exec icing  %s stdout" ""
.mat  "exec flava -w 128 -h 128 %s stdout" ""
.qtl  "cp %s /tmp/qtl$$.yuv ; fcp /tmp/qtl$$.yuv stdout; rm -f /tmp/qtl$$.yuv" ""
.cin  "exec fcineon %s stdout" "exec fcineon stdin %s"
.kdk  "exec fcineon %s stdout" "exec fcineon stdin %s"
.tif16  "exec fcineon %s stdout" "exec fcineon stdin %s"
.acc  "$PRISMSROOT/support/sbin/fromaccom %s" "$PRISMSROOT/support/sbin/toaccom %s"
.accom "$PRISMSROOT/support/sbin/fromaccom %s" "$PRISMSROOT/support/sbin/toaccom %s" 
.gif   "fromgif %s /tmp/$$.sgi ; fcp /tmp/$$.sgi stdout ; exec rm -f /tmp/$$.sgi" "fcp stdin /tmp/$$.sgi ; togif /tmp/$$.sgi %s ; exec rm -f /tmp/$$.sgi"
.gif89 "fromgif %s /tmp/$$.sgi ; fcp /tmp/$$.sgi stdout ; exec rm -f /tmp/$$.sgi" "fcp stdin /tmp/$$.sgi ; togif /tmp/$$.sgi %s ; exec rm -f /tmp/$$.sgi"
.GIF   "fromgif %s /tmp/$$.sgi ; fcp /tmp/$$.sgi stdout ; exec rm -f /tmp/$$.sgi" "fcp stdin /tmp/$$.sgi ; togif /tmp/$$.sgi %s ; exec rm -f /tmp/$$.sgi"
.GIF89 "fromgif %s /tmp/$$.sgi ; fcp /tmp/$$.sgi stdout ; exec rm -f /tmp/$$.sgi" "fcp stdin /tmp/$$.sgi ; togif /tmp/$$.sgi %s ; exec rm -f /tmp/$$.sgi"
