#!/usr/bin/avs -network version 3.5 (25.103.1.6 gs) module colorizer.user.7 -xy 198,252 -ex $Path/avs_library/mongo module "display image.user.9" -xy 198,372 module "read 16 bit image.user.13" -xy 198,42 -ex read_16 module "field to byte.user.14" -xy 198,142 -ex $Path/avs_library/mongo port_connect colorizer.user.7:0 "display image.user.9":0 port_connect "read 16 bit image.user.13":0 "field to byte.user.14":0 port_connect "field to byte.user.14":0 colorizer.user.7:0 parm_set "display image.user.9":Magnification x1 shell "ui" shell panel Application -w app_panel -p ui -xy 0,0 -wh 260,1024 panel "Top Level Stack" -w master_stack -p Application -xy 2,100 -wh 256,366 panel "read 16 bit image.user.13" -w panel -p "Top Level Stack" \ -xy 0,64 -wh 256,280 manipulator "read 16 bit image.user.13:skip bytes" -w typein_integer -p "read 16 bit image.user.13" \ -xy 10,10 -wh 236,22 manipulator "read 16 bit image.user.13:width" -w typein_integer -p "read 16 bit image.user.13" \ -xy 10,32 -wh 118,22 manipulator "read 16 bit image.user.13:height" -w typein_integer -p "read 16 bit image.user.13" \ -xy 10,54 -wh 118,22 manipulator "read 16 bit image.user.13:filename" -w browser -p "read 16 bit image.user.13" \ -xy 10,76 -wh 236,194 panel "field to byte.user.14" -w panel -p "Top Level Stack" \ -xy 0,86 -wh 138,42 manipulator "field to byte.user.14:byte normalize" -w toggle -p "field to byte.user.14" \ -xy 10,10 -wh 118,22 panel "display image.user.9!image" -w container -p ui -xy 277,459 -wh 540,456\ -P zoom_coords string "0 0 0 0 0 <$NULL> 0 0 0 0" manipulator "display image.user.9":Magnification -w none manipulator "display image.user.9":Automag_Size -w none manipulator "display image.user.9":"Maximum Image Dimension" -w none