How to Crop BMP Using PHP Cloud API
"aspose/aspose-imaging-cloud": ">=version of aspose-imaging-cloud API"
Steps to Crop BMP via PHP Cloud API
Developers can easily load & crop BMP files in just a few lines of code.
- Load BMP file as stream
- Create & set the instance of CreateCroppedImageRequest
- Set start position and crop area size
- Call the CreateCroppedImage method
- Get cropped image from response stream
Aspose.Imaging Cloud for PHP is supported on all major operating systems. Just make sure that you have the following prerequisites.
- php: >=5.6
- ext-json: *
- guzzlehttp/guzzle: ^6.3
- psr/http-message: ~1.0
Crop BMP - Cloud
About Aspose.Imaging Cloud API for PHP
Aspose.Imaging Cloud API is an image processing solution to process images (photos) within your cloud or web applications. It offers: cross-platform Image processing, including but not limited to conversions between various image formats (including uniform multi-page or multi-frame image processing), transformations (resize, crop, flip&rotate, grayscale, adjust), advanced image manipulation features (filtering, deskewing), AI features (i.e. object detection and reverse image search). It’s a Cloud API and does not depend on any software for image operations. One can easily add high-performance image conversion features with Cloud APIs within projects. Flexible integrations options including SDKs for various languages (Python, Ruby, .NET, Java, NodeJS, PHP) and the use of the REST API allow to make the integration easy.
Crop BMPs via Online App
Crop BMP documents by visiting our Live Demos website. The live demo has the following benefits:
BMP What is BMP File Format
Files having extension .BMP represent Bitmap Image files that are used to store bitmap digital images. These images are independent of graphics adapter and are also called device independent bitmap (DIB) file format. This independency serves the purpose of opening the file on multiple platforms such as Microsoft Windows and Mac. The BMP file format can store data as two-dimensional digital images in both monochrome as well as color format with various colour depths.Read More
Other Supported Conversions
Using PHP Cloud API, one can easily crop different formats including: