Closed JPerez00 closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
quickpic | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 11, 2024 2:11pm |
This is really cool. I expected it to be a circle though - skill issue on my part
How insane would it be to add a "circle" option as well?
This is really cool. I expected it to be a circle though - skill issue on my part
How insane would it be to add a "circle" option as well?
I think may be add a check to make sure the image is a square. Some thing like this:
const checkIfSquare = (image: HTMLImageElement): boolean {
return image.width === image.height;
}
My bad, I only tested it with square images and totally forgot about other aspect ratios! It should make a perfect circle now no matter the ratio. It’d be awesome to add X/Y controls to choose the crop spot, but that’s a bit out of my league. Let me know what you think!
Added 'full' radius option for perfect circle border. Changes to the rounded-tool.tsx file.