You can now pass input data to all tools via ?input-url=URL
query argument.
Check out this example - Load a GIF from Giphy and extract 15th frame from it as a PNG.
In this example GIF's URL is:
https://media.giphy.com/media/cNWU2Zeh54VJC/giphy.gif
And ?input-url
query is:
?input-url=https://media.giphy.com/media/cNWU2Zeh54VJC/giphy.gif
Full url to a tool that extracts 15th frame:
onlinepngtools.com/convert-gif-to-png?input-url=https://media.giphy.com/media/cNWU2Zeh54VJC/giphy.gif&frame=15
Input-url query argument also works with chaining.
Here's an example - Load a good boi JPG from Imgur, flip it horizontally, convert to grayscale and change JPG output quality to 5%.
Image tools also accepts input images as Data URI encoded data via ?input
argument.
Here's an example - Resize a base64-encoded 32x32 pixel image to 64x64 pixels, pixelate the result, make the image transparent, crop it to 192x64 pixels, add "Hot!" italic text to the right.
In this example image is a Data URL:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAFTElEQVRIS32We2wUVRTGf/fOzG7ZbosWSimtFkpBTZGH+AY00YCGRIkPVEwUND4iJgj4/MvIKyE+CCGID0wUsUriIzFGBRSJgghUIogEWmqspYVCK1Dabnfnca+5M8s2C+hJJpOZyT3fud/3nXNHaK01JpQCIaLrQqE16p+juHu34u3fTtDaSOy66STuXQDSuvAaQJwF8H7/Ce27OGOmIGLxvAXac/H2/kDm+zr81kbwPURBIYWPL8cZM+k/k5sPOYDM9i/IbF9F7PpZFEx6BJxYuFBnUqQ3ryezpQ7d15NLJosHkVzwNtawkfkAvhs929H6HIDfUE/qu4XIZCWJu99EFpeA75Le+D7pjR+gvUxeIlFUQtH8t7AqR+Xe654u0ls34NTeiF19ZT6A7j5F5pePsarG4oyeBELi7vqG1CfL8yo/my2k6IlXcWpviF4pRXrTWjK7NpCYuQSndnI+wLlCB8eb6X3nBYK2pnwKjDyBuQSJmc8Sv/XBiMpUN70fPU9wei8Dpi4hNmHqBQBMIac7wg+ZrRtCenJhgawGWQXqIKhWiF17G4nZixBGL63x/9qHf7geZ/w0rLKq8wGMD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GvG9wMERw7Rs/qZSGAzKcxlnGKBNRFkjUmuQcaQiSrUmXb8H7vR7Wa0ZEsy9+wOwxHy0Muh+GGjpb+vo++zFaA0siKqVjVnqzc2j2uElcQun4GwE3itdQTNKYLdArL9J0qN9UCfAVFcQvLpldgjxiCUm9apdYtw6zdCDGwj5kWgjkd3UWySJ3Aq7sceNAX3yEf4HVtAS1QjBAej3VoTgHSkj4lQi+mPIYKuTt2zeh5B80FEeQRggPpD4gy9E6d8BlqlyTStQHU3RFNXCfQ/oNMgy0F3gf9TtBNn3M0UProUEXS26e43Hkd1HkPWgjWun0tQWMXjiY14EuEMRHtdZA6/huptQhZUoP2uEDQX6QhAd4I1rJrk/DWIoKNVd7/+GOr0cayrQF5m2jlsfoRVSKx6LtbA8aAVaB/v2JcEZw7glN2O3/kjQde+cG5F/oVgJ6gWkCVlFD33HiI43aF7Vj1N0HY4cszoLIBWWBdfTXzEUyDPetR8c9HKRdhF+J1bcVvWgTaWi9YFu0H9BXJIJUUL382K/KHpgW+RV4AV2TfcgVPxAE75HVH1eRGdfKqvlUzjcrR3KvK2lx0jx6IGNP0Q2tSMh9S6xZDMYE0BkTTZLGKXzsEuvaW/wnNATOJ0wzJ0pj0ENNz724ybJAPumUfBtIcjAHNSpeqW4dZvQo7MCh0XxCofxC6b/j8AJ0k3LEW7J6BPEOwBdQTsUVeFDpIlQ/tPNNXZRurTFXgHtiHLfOQohTX8SuI1jyIKys6yFt3D7tX4nT/j/vk+uiONahCodoE9YhwD7nsWe3ht/6jIsR6eal/h7vwG1dUSUmZfMhK7aiJy0FBEPBFNg3QvwYk/8Zp3oI6fhO44MlGOM/FW4pPvQg424yBbS25c51AU6mQ73qF6/MO/oY42obpPhOezNr82ZgMymvsiOQSrvDo8f+3Lr8UqrQTLzlPqX1sejSZHcIRWAAAAAElFTkSuQmCC
Input-url query argument also works for text tools, not just image tools.
Here's another example - Load digg.com/robots.txt text file, drop empty lines, apply a regex that extract just values, drop non-urls, and then sort them.
In this example ?input-url
is digg.com/robots.txt
.
And text tools also support plain text input via just ?input
argument.
For example - Remove all leading slashes from digg's robot.txt urls.
In this example input is loaded via ?input=...
query string.
Awesome work team Browserling and see you all next time!