Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 25f28b14214bcc98d736ce88138e79f087d56510
      
https://github.com/synfig/synfig/commit/25f28b14214bcc98d736ce88138e79f087d56510
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2022-08-13 (Sat, 13 Aug 2022)

  Changed paths:
    M synfig-core/src/modules/mod_imagemagick/mptr_imagemagick.cpp
    M synfig-core/src/synfig/filesystemtemporary.cpp
    M synfig-core/src/synfig/filesystemtemporary.h

  Log Message:
  -----------
  fix!: imagemagick didn't import anything (#2789)

it uses application name "convert" to convert the desired image
into another temporary one with a well-known format (PNG).
This temporary image would then be really imported
(via another module - not very clever; what if it is not loaded?)

The problem is the temporary file is automatically named without any
extension.
In the end, Synfig can't load it, as it depends on the extension to select
the Importer.

Tested with a XPM file because XPM seems to be only loaded by imagemagick
https://filesamples.com/formats/xpm

BREAKING CHANGE: Synfig library API changed:
- Two methods of FileSystemTemporary has a new optional parameter: extension:
 - generate_system_temporary_filename
 - generate_system_temporary_filename_base




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to