ImageService


Click here for a complete list of operations.

ProcessImage

Processes an image using commands in a LEAD Command Dataset.

Test

The test form is only available for requests from the local machine.

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

POST /Services/ImageService/ImageService.asmx HTTP/1.1
Host: www.leadtools.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.leadtools.net/Services/ImageService/ProcessImage"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessImage xmlns="http://www.leadtools.net/Services/ImageService">
      <imageName>string</imageName>
      <newImageName>string</newImageName>
      <commandsDataSet>
        <xsd:schema>schema</xsd:schema>xml</commandsDataSet>
      <imageFormat>DontCare or None or Pcx or Gif or Tif or Tga or Cmp or Bmp or Buffer or Bitmap or Jfif or Jtif or Bin or Handle or Os2 or Wmf or Eps or TifLzw or Lead or Lead1Jfif or Lead1Jtif or Lead2Jfif or Lead2Jtif or Ccitt or Lead1Bit or CcittGroup31D or CcittGroup32D or CcittGroup4 or LeadNoLoss or Lead1BitA or Cals or Mac or Img or Msp or Wpg or Ras or Pct or Pcd or Dxf or Avi or Wav or Fli or Cgm or EpsTiff or EpsWmf or CmpNoLoss or FaxG31D or FaxG32D or FaxG4 or WfxG31D or WfxG4 or IcaG31D or IcaG32D or IcaG4 or Os22 or Png or Psd or RawIcaG31D or RawIcaG32D or RawIcaG4 or Fpx or FpxSingleColor or FpxJpeg or FpxJpegQFactor or BmpRle or TifCmyk or TifLzwCmyk or TifPackBits or TifPackBitsCmyk or DicomGray or DicomColor or WinIco or WinCur or TifYcc or TifLzwYcc or TifPackBitsYcc or Exif or ExifYcc or ExifJpeg or Awd or Fastest or ExifJpeg411 or PbmAscii or PbmBinary or PgmAscii or PgmBinary or PpmAscii or PpmBinary or Cut or Xpm or Xbm or IffIlbm or IffCat or Xwd or Clp or Jbig or Emf or IcaIbmMmr or RawIcaIbmMmr or Ani or LaserData or IntergraphRle or IntergraphVector or Dwg or DicomRleGray or DicomRleColor or DicomJpegGray or DicomJpegColor or Cals4 or Cals2 or Cals3 or Xwd10 or Xwd11 or Flc or Kdc or Drw or Plt or TifCmp or TifJbig or TifDxf or TifUnknown or Sgi or SgiRle or VectorDump or Dwf or RasPdf or RasPdfG31D or RasPdfG32D or RasPdfG4 or RasPdfJpeg or RasPdfJpeg422 or RasPdfJpeg411 or Raw or RasterDump or TiffCustom or RawRgb or RawRle4 or RawRle8 or RawBitFields or RawPackBits or RawJpeg or FaxG31DNoEol or RawCcitt or Jp2 or J2k or Cmw or TifJ2k or TifCmw or Mrc or Gerber or Wbmp or JfifLab or Lead1JfifLab or Lead2JfifLab or Mov or Midi or Mpeg1 or Au or Aiff or Mpeg2 or Svg or Nitf or Ptoca or Sct or Pcl or Afp or IcaUncompressed or RawIcaUncompressed or Shp or Smp or SmpG31D or SmpG32D or SmpG4 or Vwpg or Cmx or TgaRle or Kdc120 or Kdc40 or Kdc50 or Dcs</imageFormat>
      <pixelFormat>DontCare or Format1bppIndexed or Format2bppIndexed or Format3bppIndexed or Format4bppIndexed or Format5bppIndexed or Format6bppIndexed or Format7bppIndexed or Format8bppIndexed or Format12bppGrayScale or Format16bppGrayScale or Format16bppArgb1555 or Format24bppRgb or Format24bppBgr or Format32bppArgb or Format32bppAbgr or Format48bppRgb or Format48bppBgr or Format64bppArgb or Format64bppAbgr</pixelFormat>
      <size>KeepOriginal or BestFit or BestFitWidthOrHeight or UseWidth or UseHeight or UseWidthHeight</size>
      <width>int</width>
      <height>int</height>
      <horizontalResolution>int</horizontalResolution>
      <verticalResolution>int</verticalResolution>
      <resize>Normal or FavorBlack or Resample or FavorBlackOrResample or BiCubic or FavorBlackOrBiCubic</resize>
      <palette>None or Fixed or Optimized or ByteOrderBgr or ByteOrderRgb or Identity or Netscape or ByteOrderGray or SlowMatch or FavorPureColors</palette>
      <dither>None or FloydStein or Stucki or Burkes or Sierra or StevensonArce or Jarvis or Ordered or Clustered</dither>
      <qFactor>Lead0 or Lead1 or MaximumCompression or MaximumCompressionKeepingQuality or PerfectQuality1 or PerfectQuality2 or QualityFarMoreImportantThanSize or QualityMoreImportantThanSize or QualityAndSizeEquallyImportant or SizeMoreImportantThanQualitySharp or SizeMoreImportantThanQualityLessTiling</qFactor>
      <qValue>int</qValue>
      <page>int</page>
      <pages>int</pages>
      <userName>string</userName>
      <password>string</password>
    </ProcessImage>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessImageResponse xmlns="http://www.leadtools.net/Services/ImageService">
      <ProcessImageResult>string</ProcessImageResult>
    </ProcessImageResponse>
  </soap:Body>
</soap:Envelope>