473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Complex Graphics Generation via PHP?

Hi there,

I wonder if anyone can tell me if it's possible with PHP to generate an graphic like this:

(or see attachement) (see image in high resolution here, in PDF here or other examples here)

In the moment, it's a Javascript which is used in Illustrator to read data from the UNEP GEO Data Portal and display them automatically in this way.

I know that there is some potential of generating images via GD and PHP. But I have no idea if it's possible to (relatively easily) generate this kind of stuff. Otherwise, I guess I would have to use SVG or Flash.

Thanks for any hints.
Jan 14 '10 #1
7 2030
Atli
5,058 Expert 4TB
It can of course be done, yes. Keep in mind the PHP is a complete programming language, so you can make it do pretty much anything you can think of.

For this particular task I would consider using either - as you suggested - GD to generate an image, or simply output SVG data.
Jan 14 '10 #2
dgreenhouse
250 Expert 100+
I took a peek at the site you posted and although it appears that they're having some serious website issues, they should have an API available to generate a number of cool images when they've worked the bugs out.

Of course that takes the fun out of doing it yourself.

They might elect to not do it at all, because I'm sure it'll be quite an undertaking - thus - you'll have lots of hair-pulling-splitting fun anyway! :-)
Jan 14 '10 #3
@ dgreenhouse: can you elaborate on "some serious website issues"? Can you send me a private message? As I am responsible for it, I am curious to learn about it. Cheers!
Jan 14 '10 #4
dgreenhouse
250 Expert 100+
@luftikus143
luftikus143

I can't send any private messages for some reason at the moment, but I'll go over the issues I encountered on your site sometime today...

I'm starting to---->fade---->to---->black :-)

Great & Cool site by the way...! I'll definitely be banging on it with some wsdl requests...

It covers areas that are near and dear to me...
Jan 14 '10 #5
Imagemagick is more powerful. Can draw any kind of complex graphics. I used in my recent project (pixable.com) and then I came to know its power.
Jan 15 '10 #6
dgreenhouse
250 Expert 100+
@nilayanand
nilayanand,

What was your part in the pixable.com project - obviously using ImageMagck. ;-)

Nice colors... Sweet Logo... Good layout.

Site looks totally handcrafted without a cms - had to be a lot of work.
(I could be wrong...)
Jan 15 '10 #7
Imagemagick work doesn't lie in website design/html. As a facebook user, try to create photobook fetching photo from Facebook, flickr, picasa etc. The cool WYSIWYG editor allow you to compose photobook like any advance photo editor.
Imagemagick role comes when you save your album and order it for printed version. Imagemagick creates hight resolution bigger size photo for printable version.
You need to complete above steps to see the Imagemagick work.
Jan 15 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

51
by: Mudge | last post by:
Please, someone, tell me why OO in PHP is better than procedural.
8
by: Max M | last post by:
Yesterday there was an article on Slashdot: http://books.slashdot.org/article.pl?sid=03/09/04/1415210&mode=flat&tid=108&tid=126&tid=156 It is about automatic code generation. I got interrested...
0
by: Rasmus Fogh | last post by:
Someone raised the question of automatic code generation a few weeks back. And yes, we (CCPN) are using automatic Python code generation in a major way. Basically we are making data models in...
0
by: Sebastian Ferreyra | last post by:
Hi, I'm writng a control derived from UserControl (let's call this control MyControl) that itself is meant to be derived further times. MyControl hosts a public collection of specialized...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
0
by: Ashish | last post by:
does anyone know if wsdl.exe actually uses xsd.exe to generate the wsdl contract file ? Iam looking for ways to control schema generation of my custom classes, so they take into account the...
0
by: technology_post | last post by:
Sybase Releases DataWindow .NET 2.0, Taking Data-Driven Applications from Complex to Virtually Code-Less Application Development Tool Delivers Support for the Microsoft .NET Framework 2.0 ...
25
by: Brian | last post by:
Had a unsettling conversation with a CS instructor that teaches at local high schools and the community college. This person is a long-term Linux/C/Python programmer, but he claims that the...
1
by: vanam | last post by:
hi all i am new to python programming a beginner. I Came to know from the groups that "How to think like a computer scientist" is preferable for begineers. i just looking through that i came to...
2
by: PortlandTechnical | last post by:
I am pleased to offer an opportunity for a Graphics Software Engineer. In this role your 5+ years or more of experience in graphics driver and related software development will help support...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.