Top "Imagecreatefrompng" questions

Anything related to imagecreatefrompng PHP function for creating an image from file or URL

Create a transparent png file using PHP

Currently I would like to create a transparent png with the lowest quality . The code: <?php function createImg ($src, $…

php image png imagecreatefrompng
PHP imagecopy with transparent background

I use this code to create an image from another png image, the background is black by default. My question …

php png imagecreatefrompng
Trying to extract pixel values from a given PNG image

Trying to understand PNG format. Consider this PNG Image: The Image is taken from here In Hex Editor , it looks …

image image-processing opencv png imagecreatefrompng
Can I use a URL as the source for imagecreatefromjpeg() without enabling fopen wrappers?

I know it’s possible to use imagecreatefromjpeg(), imagecreatefrompng(), etc. with a URL as the ‘filename’ with fopen(), but I'm …

php url image-resizing imagecreatefrompng
imagecreatefrompng error - how to detect and handle?

In my script, I have the following lines: $test = @imagecreatefrompng($name); if ($test) { ... } I am certain that $name represents an …

php error-handling gd imagecreatefrompng
imagepng is not working, it creates a blank image and image does not compress

I am creating a thumbnail of myImage of various format (jpg, png). Here is my code <?php error_reporting(…

php image thumbnails imagecreatefrompng
How to allow upload transparent gif or png with php

I have this function below to allow me to resize my uploaded image, function resize_image($image,$width,$height,$scale) { …

php transparency gd2 imagecreatefrompng
php create image and add background image to it

I would like to add an image as the background image to the image that is created by my PHP …

php image imagecreatefrompng