public function updateBMPPropertiesFromLocalFile($inputPath, $bitsPerPixel, $horizontalResolution, $verticalResolution, $outPath)
    {
        //check whether files are set or not
        if ($inputPath == '')
            throw new Exception('Input file not specified');

        if ($bitsPerPixel == '')
            throw new Exception('Color Depth not specified');

        if ($horizontalResolution == '')
            throw new Exception('Horizontal Resolution not specified');

        if ($verticalResolution == '')
            throw new Exception('Vertical Resolution not specified');

        if ($outPath == '')
            throw new Exception('Output file name not specified');

        //build URI
        $strURI = Product::$baseProductUri . '/imaging/bmp?bitsPerPixel=' . $bitsPerPixel . '&horizontalResolution=' . $horizontalResolution . '&verticalResolution=' . $verticalResolution;

        //sign URI
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::uploadFileBinary($signedURI, $inputPath, 'xml', 'POST');

        $v_output = Utils::validateOutput($responseStream);

        if ($v_output === '') {
            Utils::saveFile($responseStream, AsposeApp::$outPutLocation . $outPath);
            return $outPath;
        } else {
            return $v_output;
        }
    }
public function updateBMPPropertiesFromLocalFile($inputPath, $bitsPerPixel, $horizontalResolution, $verticalResolution, $outPath)
    {
        //check whether files are set or not
        if ($inputPath == '')
            throw new Exception('Input file not specified');

        if ($bitsPerPixel == '')
            throw new Exception('Color Depth not specified');

        if ($horizontalResolution == '')
            throw new Exception('Horizontal Resolution not specified');

        if ($verticalResolution == '')
            throw new Exception('Vertical Resolution not specified');

        if ($outPath == '')
            throw new Exception('Output file name not specified');

        //build URI
        $strURI = Product::$baseProductUri . '/imaging/bmp?bitsPerPixel=' . $bitsPerPixel . '&horizontalResolution=' . $horizontalResolution . '&verticalResolution=' . $verticalResolution;

        //sign URI
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::uploadFileBinary($signedURI, $inputPath, 'xml', 'POST');

        $v_output = Utils::validateOutput($responseStream);

        if ($v_output === '') {
            Utils::saveFile($responseStream, AsposeApp::$outPutLocation . $outPath);
            return $outPath;
        } else {
            return $v_output;
        }
    }
public function updateBMPPropertiesFromLocalFile ( $ inputPath , $ bitsPerPixel , $ horizontalResolution , $ verticalResolution , $ outPath ) { //check whether files are set or not if ( $ inputPath == '' ) throw new Exception ( 'Input file not specified' ) ; if ( $ bitsPerPixel == '' ) throw new Exception ( 'Color Depth not specified' ) ; if ( $ horizontalResolution == '' ) throw new Exception ( 'Horizontal Resolution not specified' ) ; if ( $ verticalResolution == '' ) throw new Exception ( 'Vertical Resolution not specified' ) ; if ( $ outPath == '' ) throw new Exception ( 'Output file name not specified' ) ; //build URI $ strURI = Product :: $ baseProductUri . '/imaging/bmp?bitsPerPixel=' . $ bitsPerPixel . '&horizontalResolution=' . $ horizontalResolution . '&verticalResolution=' . $ verticalResolution ; //sign URI $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: uploadFileBinary ( $ signedURI , $ inputPath , 'xml' , 'POST' ) ; $ v_output = Utils :: validateOutput ( $ responseStream ) ; if ( $ v_output === '' ) { Utils :: saveFile ( $ responseStream , AsposeApp :: $ outPutLocation . $ outPath ) ; return $ outPath ; } else { return $ v_output ; } }
Update BMP Image Properties Without Storage.

@param integer $bitsPerPixel Color depth.
@param integer $horizontalResolution New horizontal resolution.
@param integer $verticalResolution New vertical resolution.
@param string $outPath Name of the output file.

@return string Returns the file path.
@throws Exception
Update BMP Image Properties Without Storage .