https://github.com/danielpclark/picpacput
Bulk image shrinking, packaging, and pushing.
https://github.com/danielpclark/picpacput
Last synced: over 1 year ago
JSON representation
Bulk image shrinking, packaging, and pushing.
- Host: GitHub
- URL: https://github.com/danielpclark/picpacput
- Owner: danielpclark
- License: mit
- Created: 2012-12-13T04:17:09.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-19T03:33:00.000Z (over 13 years ago)
- Last Synced: 2025-01-20T12:46:23.786Z (over 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
The purpose of PicPacPut is to shrink images in bulk and then hand them
off to something else; as in a service or into a compressed file.
Example usage:
require 'picpacput'
p = PicPacPut.new
p.pic
p.pac
By the current defaults this will shrink all images to 5% and
place the images in the subfolder called resized. Then all images
get compressed into the default resized/output.zip . Coming soon
'put' to send the zip file where you want.
Look at the source to see the options you can define. You have many options.
You can call the options when you first initialize the object.
PicPacPut.new( { :folder=>'./', :scale_by=>0.15, :zipFile=>'output.zip', :recursive=>false } )