Merge pull request #2 from aybabtme/readme
Merge pull request #1 from aybabtme/api_work
Add docs, more errors, fix tests, add examples.
Add package doc.
Don't create files during tests.
Add docs. Fix tests.
Error handling instead of nil-checks. Stub errors need to be improved.
Run go-fmt on the repo.
Fix compilation of example.
add basic tests for NewCropped
add subrectangle copying (image cropping)
When resizing if either dimension is 0, maintain aspect ratio
Allow single-dimension bounds from strings
instantiate Bounds from string
default to 92 quality for jpegs
IsInvalid test was too aggressive
added gif test
register image formats centrally
More api coverage
Use Bounds rather then int as parameters to resize functions
Added Bounds as own struct
Complete encoding/decoding for the three major formats
encoding deserves it's own package
Add Gif/Png encoding
Move encode to package level
Rewrote jpg code in terms of type composition
Slight refactoring of resize/resample
Implemented saving for jpgs
split it up into multiple structs for formats
Make this more idiomatic
Initial work to port the library to GD. resizing works