Enhanced the image helper to allow for instance-specific JPEG compression level

I felt there was a need for the image helper to occasionally render
very high quality JPEGs (my usage was a zoomable map), and there was no
functionality to do this on a per-image / -block basis. Should be a
fairly straight-forward upgrade.
Enhanced the image helper to allow for instance-specific JPEG compression level

I felt there was a need for the image helper to occasionally render
very high quality JPEGs (my usage was a zoomable map), and there was no
functionality to do this on a per-image / -block basis. Should be a
fairly straight-forward upgrade.
Structural updates based on best practices and feedback

# Renamed the compression property to jpegCompression to be more
consistent. also set default value to default system value
# moved constructor to the reset() method which is automatically
invoked by Loader::helper
 # returned $this on setJpegCompression method to allow for chaining
(e.g.
Loader::helper('image')->setJpegCompression(20)->getThumbnail($file,
200, 100);
# modified min level to be 0 per imageJPEG method's acceptable range
Structural updates based on best practices and feedback

# Renamed the compression property to jpegCompression to be more
consistent. also set default value to default system value
# moved constructor to the reset() method which is automatically
invoked by Loader::helper
# returned $this on setJpegCompression method to allow for chaining
(e.g.
Loader::helper('image')->setJpegCompression(20)->getThumbnail($file,200,
 100);
# modified min level to be 0 per imageJPEG method's acceptable range
Merge pull request #675 from aghouseh/master

Enhanced the image helper to allow for instance-specific JPEG compression level