Coder Social home page Coder Social logo

open-elearning / canvasthumber Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codepo8/canvasthumber

0.0 1.0 0.0 167 KB

Create thumbnails via drag and drop into the browser

Home Page: http://thewebrocks/demos/canvasthumber

JavaScript 80.86% CSS 19.14%

canvasthumber's Introduction

Canvas Thumber

Creates a set of thumbnails from a set of dropped image, downloadable as a zip.

Demo

You can check the github pages version: https://codepo8.github.io/canvasthumber/

And there is a video demo on the YouTubes: TODO

Requirements and support

Uses Stuart Knightley's JSZip: http://stuk.github.io/jszip/ and Eli Grey's FileSaver: https://github.com/eligrey/FileSaver.js/

It was tested in Chrome, Firefox, Opera and Safari on OSX. I also showed it to a cat and it approved.

How to use

Start by dropping some images on the grey box and you will see the generated thumbnails. Hovering over the thumbnails shows you their file names and size and clicking them removes them from the collection.

You can download them all in Zip format by clicking the "Download as Zip" button.

The thumbnails are the same name as the original pictures followed by "_tn".

You can select a few options how to generate the thumbnails:

  • They can be on a coloured background or transparent
  • They can be cropped to their size instead of being the thumbnail size
  • You can define the thumbnail size
  • You can force a conversion to JPG for all of them - this results in smaller files but affects their quality. You can define the quality percentage - lower values result in more blurry images.

canvasthumber's People

Contributors

codepo8 avatar ryanseddon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.