
AVIF To PNG Converter
Decode the selected AVIF image and encode a PNG file at the same pixel dimensions.
Open toolCopy the selected integer-pixel rectangle into a new PNG. Provide Source image, Left pixel, Top pixel to compute results directly in your browser. The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction.
Enter the inputs, then select Process image.
Result will appear here
The Crop Image evaluates Source image, Left pixel, Top pixel in client-side JavaScript using the deterministic rule below and updates the output panel immediately without uploading data to a server.
Copy the selected integer-pixel rectangle into a new PNG.
The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction.
Review the input parameters, allowed value ranges, and worked reference cases for the Crop Image below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: Source image | (User supplied) | Up to 10 MB; decoded images up to 20 million pixels and 10,000 pixels per side. | Required workspace parameter |
| Input: Left pixel | 0 | Range: 0 to 9999 | Required workspace parameter |
| Input: Top pixel | 0 | Range: 0 to 9999 | Required workspace parameter |
| Input: Crop width | 48 | Range: 1 to 10000 | Required workspace parameter |
| Worked Case 1: Crop a document illustration | Preloaded / test values | Copy the selected integer-pixel rectangle into a new PNG | To crop a document illustration, start with source image. Copy the selected integer-pixel rectangle into a new PNG. |
| Worked Case 2: Remove an image edge | Preloaded / test values | Copy the selected integer-pixel rectangle into a new PNG | To remove an image edge, start with source image. The entire rectangle must lie inside the image. |
Follow these three steps to configure Source image, Left pixel, Top pixel, verify unit and boundary rules, and export your Crop Image output.
Start by entering Source image in the workspace. The calculator preloads a baseline value so you can immediately inspect the expected input format.
Supply left pixel, top pixel and confirm that your values satisfy the operational rule (The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction). Out-of-range or invalid entries trigger an immediate validation message.
Run the Crop Image to generate the result in real time. Use the Copy or Download actions to save the output for spreadsheets, engineering notes, or code documentation.
These concrete scenarios illustrate how the Crop Image processes baseline inputs, comparison checks, and boundary constraints.
To crop a document illustration, start with source image. Copy the selected integer-pixel rectangle into a new PNG.

To remove an image edge, start with source image. The entire rectangle must lie inside the image.

When solving for 'crop image', verify that Source image, Left pixel, Top pixel use consistent units and stay within the documented scope: The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction.

The output panel reports the exact result derived from Source image, Left pixel, Top pixel alongside any unit or formatting notes.
Every calculation follows the rule: Copy the selected integer-pixel rectangle into a new PNG. Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.
Always cross-check the displayed result against the scope note (The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction) before applying the value to production specifications, financial models, or lab records.

Review these boundary constraints and validation rules before relying on the Crop Image output.
Operational scope: The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.
Need an adjacent calculation in Color & Design? Use the related tools linked below to chain your workflow without leaving your browser.


Decode the selected AVIF image and encode a PNG file at the same pixel dimensions.
Open tool
Decode the selected JPEG image and encode a PNG file at the same pixel dimensions.
Open tool
Decode the selected PNG image and encode a JPEG file at the same pixel dimensions.
Open toolChoose another tool for your next calculation, conversion, or text task.

Mirror the source pixels along the chosen axis.
Open toolConvert a three- or six-digit hex colour to RGB.
Open tool
Decode the selected PNG image and encode a WebP file at the same pixel dimensions.
Open tool
Decode the selected WebP image and encode a PNG file at the same pixel dimensions.
Open toolAnswers about using Crop Image and understanding its results.
The Crop Image applies the rule: Copy the selected integer-pixel rectangle into a new PNG. Enter Source image, Left pixel, Top pixel into the workspace and the tool computes the exact output in your browser.
Yes. Provide Source image, Left pixel, Top pixel using the documented units and format shown in the quick reference table above. Preloaded default values let you test the workflow immediately.
The entire rectangle must lie inside the image. No upscaling or aspect-ratio correction. Confirm that your inputs fall within the allowed ranges before exporting the result.
Yes. All calculations for the Crop Image execute 100% locally in your browser's JavaScript runtime. No inputs or results are uploaded to any external server.
Choose another tool for your next calculation, conversion, or text task.