Image creation guidance/alternatives?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Image creation guidance/alternatives?

Post by Shendemiar »

Here's the starting situation:

I'm completely new to php
I want to create simple images from simple data
I'm going to use some free host on the net (besides my test enviroment on my computer)

I red some about GD and all the fancy functions, but i'm not sure it's the path i need/want to take: Different versions with different versions combined with free host sounds like a huge mess for beginner. Does free servers support GD, and what versions usually? How compatible different versions are with different php's and verying serversoftware's? GD's homepages was'nt really very couraging about this matter. Generally i don't like any addons or libraries or classes cos i dont understand them.

SO

The main question is that is it possible to create image file, say gif (or any other packed format), without any extensions to PHP, and is there any code for it anywhere? It dont have to have any fancy operations, i only need to be able to determine picture (x,y) size and set points(x,y,color) and perhaps text too.

I have one code for pascal, that i used many years ago, but i ant that skilfull that i could convert it.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

Let me put it this way: Is it possible to create new file with PHP?

Yes it is

Then, is it possible to write binary data or just "characters" in it?
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

Yes

Since you're new to PHP, I suggest you look through the online manual. It's the best resource.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

Have Anyone seen any code that does any type of images the oldfashioned way (writing binary data to file)
Post Reply