RECTANGLES / COMPILED GOOO
Where does this crop land?
Find the part of a requested crop that falls inside your bounds. Keep exact coordinates, even beyond JavaScript’s safe integer range.
A coordinate calculation only: no image is uploaded, cropped or resized. Coordinates stay in this browser and are not saved.
Loading the WebAssembly program…
Intersection
NOT RUNYour exact result will appear here.
- min_x
- min_y
- max_x
- max_y
has_pixels
An empty intersection returns all four coordinates as 0 and has_pixels: false, even when the input is away from the origin.
has_pixels describes geometry. It does not check image data, available memory or an image library’s size limits.
Inspect the returned JSON
Coordinate strings preserve the exact integers. The selected mode and entry identify which program produced this browser result; it is not a native compiler execution receipt.
A Gooo program you can reuse.
The same CropPlan consumer used by the native example calls the Gooo RectangleIntersect and RectangleEmpty ports. The browser passes your original coordinates to the compiled program.
Program source and build evidence
The WebAssembly bytes must match the SHA-256 hash in this build’s metadata before execution is enabled. Build receipts and Go reference cases are separate from your browser result.
Program identity will appear after loading.