Skip to content

Conversation

@jacksonTerror
Copy link
Contributor

…ch (resolves #26)

@vercel
Copy link
Contributor

vercel bot commented Aug 22, 2025

@jacksonTerror is attempting to deploy a commit to the Replicate Team on Vercel.

A member of the Team first needs to authorize it.

@jacksonTerror
Copy link
Contributor Author

Fixes the “single tile” download exporting a cropped quadrant of a 512×512 tile.
Root cause: canvas stitch used hardcoded 512 draw/step, so exporting 256×256 drew the source at 512 and advanced by 512, effectively cropping instead of scaling.
Change: stitchImages() now draws the full source tile and scales to an optional tileSize for the download; 256×256 export passes 256.
Other downloads remain unchanged.

Result: 256×256 single-tile export now tiles seamlessly (matches the preview). No impact to preview grid or larger wallpaper exports.

File touched: pages/index.js only.

Reference: fixes #26.

Thanks for maintaining TileMaker! I love this app. Sometimes I just come here to think of things and see how they tile, it's relaxing!

@vercel
Copy link
Contributor

vercel bot commented Aug 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
tilemaker Ready Ready Preview Comment Aug 25, 2025 3:43pm

@zeke
Copy link
Member

zeke commented Aug 25, 2025

Thanks for the PR!

Let's ship this an see how it goes.

@zeke zeke merged commit b9754e9 into replicate:main Aug 25, 2025
3 checks passed
@jacksonTerror
Copy link
Contributor Author

Looks to be working! Honored to have contributed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Truncated export size on single tile mode

2 participants