#1965 - Improve sanity checks and copy/convert/process logic for rotate and resize.
- resize: ensured that resize is skipped *only* if the metadata is valid or the options are well-defined and would upscale. Then, if resize is skipped, check to see if it still needs to be converted. Previous conditions would allow a small PNG to get copied to a JPG, and would allow a corrupted JPG to be copied to the output.
- rotate: add checks for empty file or empty options.
- use get_file_metadata instead of direct getimagesize call.
- add unit tests for rotate and resize, including some for corrupted input files and missing options.
#1951 - Make metadata generation more flexible (photo and movie helpers).
- added photo_get_file_metadata and movie_get_file_metadata events
- modified photo::get_file_metadata and movie::get_file_metadata to use them
- ensure that non-readable files throw exceptions
- redirected other photo metadata calls in core to photo::get_file_metadata (the helper function already exists, but in many places getimagesize is still called directly)
- added some unit tests (neither of the functions above had one)
Merge pull request #96 from shadlaws/fix_1951

#1951 - Make metadata generation more flexible (photo and movie helpers).
Automated update of .build_number to 297 for branch master
Last update: 776fe75ceb93f8eb729d13d58fb411d6ceeb9270 (1 commits ago)
Merge pull request #103 from shadlaws/fix_1965

#1965 - Improve sanity checks and copy/convert/process logic for rotate and resize
Automated update of .build_number to 298 for branch master
Last update: 066f4cdf8e44585790711797baf9130511d4203d (1 commits ago)