ImageMagick replaced with libvips for image processing

AI-generated summary

tgxworld announced that libvips is now the default image processing library in Discourse, replacing ImageMagick. This change aims to improve the security of user upload processing. Although it is not a direct port of ImageMagick operations, no noticeable visual differences are expected for end users. The team plans to remove the ImageMagick dependency from Discourse Docker images in the coming weeks.

NateDhaliwal asked if the development installation steps required updates. After tgxworld requested clarification, NateDhaliwal specified the Ubuntu/Debian development guide, noting it didn’t appear updated. tgxworld confirmed that the guide had indeed been updated to include libvips installation instructions.

This week, we made libvips the default image processing library in Discourse as part of our ongoing work to make processing user uploads more secure.

Although this isn’t a direct port of the ImageMagick operations, we do not expect any noticeable changes in how images appear to end users. In the coming weeks, we plan to remove the ImageMagick dependency from the Discourse Docker images.

Questions? Comments? Spotted something weird with images? Let me know!

Does the dev install steps need to change?

Which guide are you referring to? We did update the guides but might have missed one or two.

I was referring to Install Discourse on Ubuntu or Debian for Development. I don’t think that was updated.

It was updated which links to the installation instructions for libvips .