mlms13 / cropsicle Goto Github PK
View Code? Open in Web Editor NEWCropsicle is a simple webapp for taking screenshots of other webpages and cropping them to your liking.
License: MIT License
Cropsicle is a simple webapp for taking screenshots of other webpages and cropping them to your liking.
License: MIT License
The "Crop" button should say "Save Image" any time there is no selection.
We should allow the user to specify a fixed height and width for the screenshot. This should get posted to the server, and possibly included as part of the final URL, e.g.:
webchopper.awesome/crop/1024/all/martinsmucker.com
If someone isn't happy with their crop, they might come back 5 minutes later and try the same thing. We'll save a lot of time (and server bandwidth) if we don't re-request and render the same website.
Requesting the image could all be handled client-side. Server-side stuff is a nice fallback if JS is disabled, but ultimately, you should never have leave the index page.
history.pushState()
will be a nice way to give people usable links that they can return to or share.
When we return the image, we should do whatever magic is required by ImageCutter to make the crop tool work as expected.
I'm not sure if this is possible, but it would be pretty neat. After we load the full page in Phantom and snap the original screenshot, it would be awesome if we could resize Phantom's viewport and take other screenshots... ya know, while it's loaded and everything.
Then, in the interface, we could offer some device-icon-buttons so that the user could quickly switch between viewport widths, without having to re-render the target URL in Phantom over and over.
The ImageCrop library now offers a way to set image type, but we need to create a way to accomplish this in the UI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.