<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Security on Daniel Eisenhardt</title><link>https://danieleisenhardt.nl/tags/security/</link><description>Recent content in Security on Daniel Eisenhardt</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 03 Jan 2026 11:29:00 +0200</lastBuildDate><atom:link href="https://danieleisenhardt.nl/tags/security/index.xml" rel="self" type="application/rss+xml"/><item><title>Image conversion in Node.js - Part 1: The out-of-the-box experience</title><link>https://danieleisenhardt.nl/posts/image-conversion-in-node-js-part-1/</link><pubDate>Sat, 03 Jan 2026 11:29:00 +0200</pubDate><guid>https://danieleisenhardt.nl/posts/image-conversion-in-node-js-part-1/</guid><description>This article will explain how to convert between image types with Node.js and Sharp. Only JPEG, PNG, WEBP, GIF, TIFF, AVIF are supported out-of-the-box. For other image types read one of the follow-up articles, as well as for file formats that aren’t technically images, but can be converted to images.
TL;DR: Link to heading If you don’t care about theory, security, or best practices, run:
npm i sharp Put the following in any javascript file, i.</description></item></channel></rss>