ExportToTIFF.smlb

  Download

More scripts: Import & Export

Syntax Highlighing:

comments, key words, predefined symbols, class members & methods, functions & classes
            
<?xml version="1.0"?>
<SML>
  <Version>1.8</Version>
  <ScrollH>0</ScrollH>
  <ScrollV>0</ScrollV>
  <class>
    <name>rvc</name>
    <classname>IMAGE_PIPELINE_SOURCE_RVC</classname>
    <rect>
      <xinit>388</xinit>
      <yinit>175</yinit>
      <xlast>551</xlast>
      <ylast>248</ylast>
    </rect>
    <minimized>0</minimized>
    <order>3</order>
    <comments></comments>
    <func>
      <name>IMAGE_PIPELINE_SOURCE_RVC</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>ObjItem</parm>
        <connect>
          <builderparent>rvc_objitem</builderparent>
          <funcparent>RVC_OBJITEM</funcparent>
          <num>2</num>
        </connect>
      </inputconnect>
      <inputconnect>
        <num>2</num>
        <parm>component</parm>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>IMAGE_PIPELINE_SOURCE_RVC</func>
        <connect>
          <builderparent>tiff</builderparent>
          <funcparent>IMAGE_PIPELINE_TARGET_TIFF</funcparent>
          <num>1</num>
        </connect>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>IMAGE_PIPELINE_SOURCE_RVC</func>
      </outputconnect>
      <outputconnect>
        <num>3</num>
        <func>IMAGE_PIPELINE_SOURCE_RVC</func>
      </outputconnect>
    </func>
    <func>
      <name>Initialize</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <outputconnect>
        <num>1</num>
        <func>Initialize</func>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>Initialize</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>rvc_objitem</name>
    <classname>RVC_OBJITEM</classname>
    <rect>
      <xinit>36</xinit>
      <yinit>176</yinit>
      <xlast>204</xlast>
      <ylast>210</ylast>
    </rect>
    <minimized>0</minimized>
    <order>1</order>
    <comments></comments>
    <func>
      <name>RVC_OBJITEM</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <outputconnect>
        <num>1</num>
        <func>RVC_OBJITEM</func>
        <connect>
          <builderparent>err</builderparent>
          <funcparent></funcparent>
          <num>3</num>
        </connect>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>RVC_OBJITEM</func>
        <connect>
          <builderparent>rvc</builderparent>
          <funcparent>IMAGE_PIPELINE_SOURCE_RVC</funcparent>
          <num>1</num>
        </connect>
      </outputconnect>
      <outputconnect>
        <num>3</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
      <outputconnect>
        <num>4</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>err</name>
    <symbolname>DlgGetObject</symbolname>
    <rect>
      <xinit>226</xinit>
      <yinit>54</yinit>
      <xlast>499</xlast>
      <ylast>136</ylast>
    </rect>
    <minimized>0</minimized>
    <order>2</order>
    <comments></comments>
    <func>
      <name></name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>Prompt</parm>
        <value>Choose input image:</value>
      </inputconnect>
      <inputconnect>
        <num>2</num>
        <parm>ObjectTypes</parm>
        <value>Raster</value>
      </inputconnect>
      <inputconnect>
        <num>3</num>
        <parm>ObjItem</parm>
        <connect>
          <builderparent>rvc_objitem</builderparent>
          <funcparent>RVC_OBJITEM</funcparent>
          <num>1</num>
        </connect>
      </inputconnect>
      <inputconnect>
        <num>4</num>
        <parm>GetObjectFlags</parm>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>DlgGetObject</func>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>DlgGetObject</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>tiff</name>
    <classname>IMAGE_PIPELINE_TARGET_TIFF</classname>
    <rect>
      <xinit>688</xinit>
      <yinit>192</yinit>
      <xlast>851</xlast>
      <ylast>335</ylast>
    </rect>
    <minimized>0</minimized>
    <order>7</order>
    <comments></comments>
    <func>
      <name>IMAGE_PIPELINE_TARGET_TIFF</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>InputStage</parm>
        <connect>
          <builderparent>rvc</builderparent>
          <funcparent>IMAGE_PIPELINE_SOURCE_RVC</funcparent>
          <num>1</num>
        </connect>
      </inputconnect>
      <inputconnect>
        <num>2</num>
        <parm>filepath</parm>
        <connect>
          <builderparent>filepath</builderparent>
          <funcparent>FILEPATH</funcparent>
          <num>1</num>
        </connect>
      </inputconnect>
      <inputconnect>
        <num>3</num>
        <parm>geoformat</parm>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>IMAGE_PIPELINE_TARGET_TIFF</func>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>IMAGE_PIPELINE_TARGET_TIFF</func>
      </outputconnect>
    </func>
    <func>
      <name>Initialize</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <outputconnect>
        <num>1</num>
        <func>Initialize</func>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>Initialize</func>
      </outputconnect>
    </func>
    <func>
      <name>Process</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>ShowStatus</parm>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>Process</func>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>Process</func>
      </outputconnect>
    </func>
    <func>
      <name>SetParms</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>Parms</parm>
        <connect>
          <builderparent>tiff_settings</builderparent>
          <funcparent>IMAGE_PIPELINE_TARGET_TIFF_SETTINGS</funcparent>
          <num>1</num>
        </connect>
      </inputconnect>
    </func>
  </class>
  <class>
    <name>filepath</name>
    <classname>FILEPATH</classname>
    <rect>
      <xinit>394</xinit>
      <yinit>275</yinit>
      <xlast>571</xlast>
      <ylast>335</ylast>
    </rect>
    <minimized>0</minimized>
    <order>5</order>
    <comments></comments>
    <func>
      <name>FILEPATH</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>str</parm>
        <connect>
          <builderparent>str_1</builderparent>
          <funcparent></funcparent>
          <num>1</num>
        </connect>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>FILEPATH</func>
        <connect>
          <builderparent>tiff</builderparent>
          <funcparent>IMAGE_PIPELINE_TARGET_TIFF</funcparent>
          <num>2</num>
        </connect>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>FILEPATH</func>
      </outputconnect>
      <outputconnect>
        <num>3</num>
        <func>FILEPATH</func>
      </outputconnect>
    </func>
    <func>
      <name>_$</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
      </inputconnect>
      <outputconnect>
        <num>1</num>
      </outputconnect>
      <outputconnect>
        <num>2</num>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>str_1</name>
    <symbolname>GetOutputFileName</symbolname>
    <rect>
      <xinit>45</xinit>
      <yinit>372</yinit>
      <xlast>334</xlast>
      <ylast>438</ylast>
    </rect>
    <minimized>0</minimized>
    <order>4</order>
    <comments></comments>
    <func>
      <name></name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>default$</parm>
        <value>c:/temp</value>
      </inputconnect>
      <inputconnect>
        <num>2</num>
        <parm>prompt$</parm>
        <value>Choose output TIFF filename</value>
      </inputconnect>
      <inputconnect>
        <num>3</num>
        <parm>ext$</parm>
        <value>*.tif</value>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>GetOutputFileName</func>
        <connect>
          <builderparent>filepath</builderparent>
          <funcparent>FILEPATH</funcparent>
          <num>1</num>
        </connect>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>GetOutputFileName</func>
      </outputconnect>
      <outputconnect>
        <num>3</num>
        <func>GetOutputFileName</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>tiff_settings</name>
    <classname>IMAGE_PIPELINE_TARGET_TIFF_SETTINGS</classname>
    <rect>
      <xinit>452</xinit>
      <yinit>374</yinit>
      <xlast>634</xlast>
      <ylast>438</ylast>
    </rect>
    <minimized>0</minimized>
    <order>6</order>
    <comments></comments>
    <func>
      <name>IMAGE_PIPELINE_TARGET_TIFF_SETTINGS</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <outputconnect>
        <num>1</num>
        <func>IMAGE_PIPELINE_TARGET_TIFF_SETTINGS</func>
        <connect>
          <builderparent>tiff</builderparent>
          <funcparent>SetParms</funcparent>
          <num>1</num>
        </connect>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>IMAGE_PIPELINE_TARGET_TIFF_SETTINGS</func>
      </outputconnect>
      <outputconnect>
        <num>3</num>
        <func>IMAGE_PIPELINE_TARGET_TIFF_SETTINGS</func>
      </outputconnect>
    </func>
    <func>
      <name>SetCompression</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <inputconnect>
        <num>1</num>
        <parm>Compression</parm>
        <value>LZW</value>
      </inputconnect>
    </func>
  </class>
</SML>