bool Imagick::pingImageBlob ($image)Parameters: This function takes one parameter $image,which is a string containing the image stream. Return Value: This function returns True on success. The following program illustrates the Imagick::pingImageBlob() function in PHP: Program: This program will display the height and width of the image without actually loading it onto the screen.
// Read the file as a string
' https://media.engineerforengineer.org/wp-content/uploads/engineerforengineer-6.png '
// Create a new Imagick object
// Using the Imagick::pingImageBlob() function
-> pingImageBlob (
// Get image details
"Width of image:"
"< br >"
"Height of image:"
?>Output:Width of image: 600 Height of image: 135Link: https://www.php.net/manual/en/imagick.pingimageblob.php
Books for developers
Veracity of Big Data
Topics on Big Data are growing rapidly. From the first 3 V’s that originally characterized Big Data, the industry now has identified 42 V’s associated with Big Data. The list of how we characteriz...
Spark: Big Data Cluster Computing in Production
You should understand the basics of development and usage atop Apache Spark. This book will not be covering introductory material. There are numerous books, forums, and resources available that cover ...
Cloud computing provides the capability to use computing and storage resources on a metered basis and reduce the investments in an organization’s computing infrastructure. The spawning and deletion ...
CEH v11 Certified Ethical Hacker Study Guide
As information protection continues to be a growing concern for businesses today, IT security certifications have become highly desirable, even as the number of certifications has grown. Now you can s...
Submit new EBook