Problem/Motivation

ImageMagick::convert fails if a different destination image format is requested via ::setDestinationFormat.
This is because the destination file path is prepended with 'format:' which fails the file_exists check after conversion.

Proposed resolution

Move the prepending of the image format to the ::imagemagickExec method, leaving the destination file path untouched.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 2569413-2.patch1.79 KBmondrake

Comments

mondrake created an issue. See original summary.

mondrake’s picture

Status: Active » Needs review
StatusFileSize
new1.79 KB
mondrake’s picture

Status: Needs review » Needs work
mondrake’s picture

Status: Needs work » Needs review

  • mondrake committed 6722778 on 8.x-1.x
    Issue #2569413 by mondrake: ImageMagick::convert fails on converting...
mondrake’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.