How to Add Page Numbers to a PDF

Learn how to add page numbers to a PDF with a clear position and format, a worked example, and checks for the first and last pages.

How to Convert Base64 Back to an Image

Learn how to convert Base64 back to an image, read a data URI, decode a 1 by 1 PNG example, check the output, and keep the original file.

How to Convert PNG to SVG (and When Not To)

Convert PNG to SVG only for simple shapes. Learn tracing, a worked logo example, when photos fail, and why to keep the original PNG.

How to Generate a Favicon From Any Image

Generate a favicon from any image with a square 512×512 source, ICO and PNG files, a worked example, and cache-clearing checks.