ExportToPNG.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>250</xinit>
      <yinit>126</yinit>
      <xlast>413</xlast>
      <ylast>199</ylast>
    </rect>
    <minimized>1</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>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>IMAGE_PIPELINE_SOURCE_RVC</func>
        <connect>
          <builderparent>png</builderparent>
          <funcparent>IMAGE_PIPELINE_TARGET_PNG</funcparent>
          <num>1</num>
        </connect>
      </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>
      <outputconnect>
        <num>3</num>
        <func>Initialize</func>
      </outputconnect>
      <outputconnect>
        <num>4</num>
        <func>Initialize</func>
      </outputconnect>
      <outputconnect>
        <num>5</num>
        <func>Initialize</func>
      </outputconnect>
      <outputconnect>
        <num>6</num>
        <func>Initialize</func>
      </outputconnect>
      <outputconnect>
        <num>7</num>
        <func>Initialize</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>rvc_objitem</name>
    <classname>RVC_OBJITEM</classname>
    <rect>
      <xinit>48</xinit>
      <yinit>117</yinit>
      <xlast>216</xlast>
      <ylast>151</ylast>
    </rect>
    <minimized>1</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>
      <outputconnect>
        <num>5</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
      <outputconnect>
        <num>6</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
      <outputconnect>
        <num>7</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
      <outputconnect>
        <num>8</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
      <outputconnect>
        <num>9</num>
        <func>RVC_OBJITEM</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>err</name>
    <symbolname>DlgGetObject</symbolname>
    <rect>
      <xinit>220</xinit>
      <yinit>65</yinit>
      <xlast>493</xlast>
      <ylast>147</ylast>
    </rect>
    <minimized>1</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>
      <outputconnect>
        <num>3</num>
        <func>DlgGetObject</func>
      </outputconnect>
      <outputconnect>
        <num>4</num>
        <func>DlgGetObject</func>
      </outputconnect>
      <outputconnect>
        <num>5</num>
        <func>DlgGetObject</func>
      </outputconnect>
      <outputconnect>
        <num>6</num>
        <func>DlgGetObject</func>
      </outputconnect>
      <outputconnect>
        <num>7</num>
        <func>DlgGetObject</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>filepath</name>
    <classname>FILEPATH</classname>
    <rect>
      <xinit>233</xinit>
      <yinit>184</yinit>
      <xlast>410</xlast>
      <ylast>244</ylast>
    </rect>
    <minimized>1</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>
      </outputconnect>
      <outputconnect>
        <num>2</num>
        <func>FILEPATH</func>
        <connect>
          <builderparent>png</builderparent>
          <funcparent>IMAGE_PIPELINE_TARGET_PNG</funcparent>
          <num>2</num>
        </connect>
      </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>
      <outputconnect>
        <num>3</num>
      </outputconnect>
      <outputconnect>
        <num>4</num>
      </outputconnect>
      <outputconnect>
        <num>5</num>
      </outputconnect>
      <outputconnect>
        <num>6</num>
      </outputconnect>
      <outputconnect>
        <num>7</num>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>str_1</name>
    <symbolname>GetOutputFileName</symbolname>
    <rect>
      <xinit>29</xinit>
      <yinit>188</yinit>
      <xlast>318</xlast>
      <ylast>254</ylast>
    </rect>
    <minimized>1</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>
      <outputconnect>
        <num>4</num>
        <func>GetOutputFileName</func>
      </outputconnect>
      <outputconnect>
        <num>5</num>
        <func>GetOutputFileName</func>
      </outputconnect>
      <outputconnect>
        <num>6</num>
        <func>GetOutputFileName</func>
      </outputconnect>
      <outputconnect>
        <num>7</num>
        <func>GetOutputFileName</func>
      </outputconnect>
      <outputconnect>
        <num>8</num>
        <func>GetOutputFileName</func>
      </outputconnect>
    </func>
  </class>
  <class>
    <name>png</name>
    <classname>IMAGE_PIPELINE_TARGET_PNG</classname>
    <rect>
      <xinit>392</xinit>
      <yinit>152</yinit>
      <xlast>541</xlast>
      <ylast>267</ylast>
    </rect>
    <minimized>1</minimized>
    <order>6</order>
    <comments></comments>
    <func>
      <name>IMAGE_PIPELINE_TARGET_PNG</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>2</num>
        </connect>
      </inputconnect>
      <inputconnect>
        <num>2</num>
        <parm>filepath</parm>
        <connect>
          <builderparent>filepath</builderparent>
          <funcparent>FILEPATH</funcparent>
          <num>2</num>
        </connect>
      </inputconnect>
      <inputconnect>
        <num>3</num>
        <parm>geoformat</parm>
      </inputconnect>
      <outputconnect>
        <num>1</num>
        <func>IMAGE_PIPELINE_TARGET_PNG</func>
      </outputconnect>
    </func>
    <func>
      <name>Initialize</name>
      <ReportError>0</ReportError>
      <ReportStatus>0</ReportStatus>
      <outputconnect>
        <num>1</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>
    </func>
  </class>
</SML>