Things to do in Cape Town, the Helderberg, and the Cape Winelands

Tag imagecreatefrombmp

PHP: Create Image Object from BMP File with imagecreatefrombmp Function

PHP by default uses the GD library for all its image processing and manipulation work, which handles most types of image files perfectly well. The one glaring omission however is when it comes to working with standard Windows Bitmap BMP files, where for example in amongst all the various imagecreatefromXXX function calls you’ll notice that there isn’t one for the plain old BMP photos.

© 2021 An Exploring South African — Powered by WordPress