tiff2pdf: converting from 32-bpp TIFF image to PDF will swap B and R channel?

Summary

  • tiff2pdf: converting from a 32-bpp TIFF image to a PDF will swap B and R channel?

Version

  • LIBTIFF, Version 4.2.0

Steps to reproduce

$ magick.exe "32bpp-None.png"  -compress "None" "32bpp-None.tif"
$ tiff2pdf.exe -o 32bpp-None.pdf 32bpp-None.tif

Platform

  • Tested on Cygwin
$ uname -a
CYGWIN_NT-10.0 H270 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin