Deprecate, remove usages, add legacy tests for the following ImagemagickToolkit methods:
- checkPath
- getDestination
- getDestinationFormat
- getDestinationLocalPath
- getPackage
- getPackageLabel
- getSourceFormat
- getSourceLocalPath
- setDestination
- setDestinationFormat
- setDestinationFormatFromExtension
- setDestinationLocalPath
- setSourceFormat
- setSourceFormatFromExtension
- setSourceLocalPath
Add the following methods:
- ImagemagickToolkit::ensureSourceLocalPath
- ImagemagickToolkit::getExecManager
- ImagemagickExecManager::getFormatMapper
- ImagemagickExecManager::getModuleHandler
- ImagemagickExecArguments::setSourceFormatFromExtension
- ImagemagickExecArguments::setDestinationFormatFromExtension
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | interdiff_6-8.txt | 2.57 KB | mondrake |
| #8 | 2938375-8.patch | 55.54 KB | mondrake |
| #6 | 2938375-6.patch | 54.9 KB | mondrake |
Comments
Comment #2
ioana apetri commentedI start working on this.
Comment #3
mondrake@yo30 please don't, I'm already almost there - https://github.com/mondrake/imagemagick/pull/21
Sorry!
Comment #4
mondrake@yo30 would you consider working on #2938377: Deprecate parsing source image with getimagesize instead?
Thanks!
Comment #5
ioana apetri commentedOhh ok, not a problem.
Comment #6
mondrakeHere's the patch. Deprecates, removes usages, adds legacy tests for the methods deprecated in the IS.
Comment #8
mondrakeThe
testSourceLocalPathtest now requires actual binaries to execute.Comment #10
mondrakeCommitted.
Comment #11
mondrakeComment #12
mondrake