Convert many png's to multi-page tiff

前端 未结 1 1990
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-20 04:39

I\'ve seen various posts around StackOverflow, but basically I want to do something along the lines of:

convert *.png new.tiff

And the tiff has

1条回答
  •  长情又很酷
    2021-02-20 05:33

    Finally figured it out. It seems you have to build from source to get this feature working correctly. I used all versions from homebrew without any luck. To do this make sure you get rid of any old versions, so do the following:

    1. brew uninstall imagemagick
    2. brew unlink imagemagick
    3. brew install imagemagick --build-from-source
    4. It might say that you need to link/unlink, just do brew unlink imagemagick && brew link imagemagick and it should work fine.

    I'm very surprised this isn't documented more, specifically converting multiple images into a single multi-paged tiff. From here you can then do convert *.png mynewimg.tiff (if using globbing) if not you can do convert first.png second.png third.png mynewimg.tiff

    It seems the only option is to build from source though, so if multi-paged tiffs aren't being generated then do the above.

    0 讨论(0)
提交回复
热议问题