!IMAGE.DEF [100] - AUI_IMAGE (IMAGE.SBR) symbols !-------------------.-------------------.-------------------.-------------------. !EDIT HISTORY ! VEDIT=100 ! Note: history reformatted 9-Feb-17 ! [100] 11-May-16 / jdm / Moved from ashell.def [261] and augmented to reflect ! 6.3.1512.1+ !-------------------.-------------------.-------------------.-------------------. ++ifndef INC_IMAGE_DEF_ define INC_IMAGE_DEF = 1 ++ifndef IMGOP_LOAD ! (opcodes normally in ashell.def also) !*** AUI_IMAGE opcode symbols define IMGOP_LOAD = 1 ! load image define IMGOP_CLOSE = 2 ! close image define IMGOP_DISPLAY = 3 ! display image define IMGOP_LOADDISP = 4 ! load and display define IMGOP_INFO = 5 ! retrieve info about image define IMGOP_HIDE = 6 ! remove img from display without closing it define IMGOP_ACQUIRE = 7 ! acquire (scan) define IMGOP_SELECTSRC = 8 ! select source define IMGOP_TWERR = 9 ! get TWAIN error define IMGOP_CAPTURE = 10 ! capture screen/window to file define IMGOP_SAVEAS = 11 ! save loaded image as... define IMGOP_PAGEINFO = 12 ! get # pages in TIF file ++endif ++ifndef IMGCWF_HALFTONE ! (these formerly stored in ashell.def) !*** IMAGE (AUI_IMAGE) flags define IMGF_HALFTONE = &h01 ! halftone print method define IMGF_SCATTER = &h02 ! scatter print method define IMGF_STRETCH = &h04 ! stretch image to fit space define IMGF_SCALEQ = &h08 ! interpolate (hq scaling) define IMGF_FORCEXFER = &h10 ! [157] force xfer of file to PC ! (i.e. interpret spec as host-relative) !*** IMGOP_CAPTURE WINID codes define IMGCWF_CURWIN = -2 ! current window define IMGCWF_SCREEN = -1 ! screen define IMGCWF_MAIN = 0 ! main window !*** IMAGE flags related to screen capture... define IMGCF_CLIENT = &h00008000 ! Capture just client area of window define IMGCF_GRAY = &h00010000 ! Convert capture to grayscale ! all of the following imply IMGCF_GRAY... define IMGCF_BI_SCATTER = &h00020000 ! convert to bilevel using scatter method define IMGCF_BI_DITHER = &h00040000 ! convert to bilevel using dither method define IMGCF_BI_THRESH = &h00080000 ! convert to bilevel using threshold method define IMGCF_NEGATE = &h00100000 ! negative image define IMGCF_INKSAVER = &h00200000 ! save ink by converting most ! common color to white !*** IMAGE scanflags define IMGSF_HIDEUI = &h01 ! hide scanner's dlg define IMGSF_ADFOUT = &h02 ! quit when ADF out of paper define IMGSF_CONTINUE = &h04 ! continue until page count or error !*** PNG filter options (lsb of comp param) define PNGF_ALL = 0 ! best filter for each row define PNGF_NONE = 2 ! no filter define PNGF_SUB = 4 ! diff with adjacent pixel define PNGF_UP = 6 ! diff with previous row define PNGF_AVG = 8 ! avg filter define PNGF_PAETH = 10 ! paeth filter ++endif ! (end of section formerly included in ashell.def) ! [100] these newly defined !*** TIF compression options (lsb of comp param) define TIFCF_NONE = 0 ! no compression define TIFCF_PACKBITS = 2 ! Pack bits define TIFCF_GROUP3 = 3 ! Group 3 define TIFCF_GROUP4 = 4 ! Group 4 define TIFCF_CCITT3 = 5 ! CCITT Group 3 !*** Pixtype define PIXTYPE_BW = 1 ! B/W (1 bpp) define PIXTYPE_GRAY = 2 ! Grayscale (8 bpp) define PIXTYPE_RGB = 3 ! RGB (24 bpp) define PIXTYPE_PALETTE = 4 ! 256 color palette (8 bpp) define PIXTYPE_CMY = 5 ! Cyan/Magenta/Yellow (24 bpp) define PIXTYPE_CMYK = 6 ! Cyan/Magenta/Yellow/Black (32 bpp) define PIXTYPE_YUVK = 7 ! luma/chrominance/black (32 bpp) define PIXTYPE_CIEXYZ = 8 ! camera format (raw CCD data) !*** Pagesize define TWSS_NONE = 0 define TWSS_A4LETTER = 1 define TWSS_B5LETTER = 2 define TWSS_USLETTER = 3 define TWSS_USLEGAL = 4 define TWSS_A5 = 5 define TWSS_B4 = 6 define TWSS_B6 = 7 define TWSS_USLEDGER = 9 define TWSS_USEXECUTIVE = 10 define TWSS_A3 = 11 define TWSS_B3 = 12 define TWSS_A6 = 13 define TWSS_C4 = 14 define TWSS_C5 = 15 define TWSS_C6 = 16 define TWSS_4A0 = 17 define TWSS_2A0 = 18 define TWSS_A0 = 19 define TWSS_A1 = 20 define TWSS_A2 = 21 define TWSS_A7 = 22 define TWSS_A8 = 23 define TWSS_A9 = 24 define TWSS_A10 = 25 define TWSS_ISOB0 = 26 define TWSS_ISOB1 = 27 define TWSS_ISOB2 = 28 define TWSS_ISOB5 = 29 define TWSS_ISOB7 = 30 define TWSS_ISOB8 = 31 define TWSS_ISOB9 = 32 define TWSS_ISOB10 = 33 define TWSS_JISB0 = 34 define TWSS_JISB1 = 35 define TWSS_JISB2 = 36 define TWSS_JISB3 = 37 define TWSS_JISB4 = 38 define TWSS_JISB6 = 39 define TWSS_JISB7 = 40 define TWSS_JISB8 = 41 define TWSS_JISB9 = 42 define TWSS_JISB10 = 43 define TWSS_C0 = 44 define TWSS_C1 = 45 define TWSS_C2 = 46 define TWSS_C3 = 47 define TWSS_C7 = 48 define TWSS_C8 = 49 define TWSS_C9 = 50 define TWSS_C10 = 51 define TWSS_USSTATEMENT = 52 define TWSS_BUSINESSCARD = 53 ++endif