As CSS expands, so does web design as a whole, but where it still lacks (and most likely will always lack) is in the area of fonts. Depending on the user’s home computer and the actions he/she has taken on it, there are different fonts inherently available. In this article, however, we will talk about bypassing the user’s system and use the fonts you would like, via PHP and the GD library.
Posts Tagged ‘GD Library’
-
Dynamically Converting Text to an Image
-
Editing Images – Resizing, Cropping, and more!
We’ve seen the graphics PHP can create for you, but how extensive is PHP’s ability to edit preexisiting images? In this article, I will explore some common functions that image editing software provides, but I’ll only use PHP. We’ll focus mainly on cropping, resizing, flipping, and adding some effects to photos.
-
Very Basic Pie Chart
Pie chart, circle graph, call it what you want, but these charts are loved by descriptive statisticians across the world for their instant appeal to the viewer’s eyes and inferential mind. Though descriptive statistics can be deceiving, pie charts, created in this article with the GD library, easily describe the data in a very literal […]
-
Histograms – Remember the GD library?
Better recognized perhaps as “bar graphs” to most people, in the world of statistics, histograms provide a graphic representation of a set of data. This graph can be used to make inferences about the data and draw conclusions about the sample and population. In this article, we’ll dive into a few new functions available as […]
-
Scatter plots – An Application of the GD Library
Easily the most useful application of the GD library is the ability to dynamically output clean, sharp graphs and charts. A scatter plot, the plotting of points based on an independent variable and the dependent variable (usually X and Y), is a great application that uses several common GD functions and is useful for data […]
-
Working with Images – Introducing the GD Library
There are hundreds of libraries available to add on to the PHP base, and GD is just one of those with thousands of possibilities. Used to process images and even dynamically create and output graphics, the GD library is relatively easy to learn with distinct potential in the graphics world. In this article, I will […]