Forum Moderators: phranque

Message Too Old, No Replies

Image Manipulation in Perl

create, change, transform images in dynamic enviroment

         

lak12

4:50 am on Jun 27, 2002 (gmt 0)

10+ Year Member



I was wondering if someone wants to share experience using utilities as NetPBM or others to create, change or update images online.
I have been using FLY and NetPBM and sometimes foind it difficult to read man pages.

i.e. right now I am trying to convert some map files to gif files - so far no success. Can't establish the input file format. Anyone hacked into this domain?
cheers.
Mark

DaveAtIFG

9:38 pm on Jun 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can anyone offer lak12 a suggestion or two?

idiotgirl

10:02 pm on Jun 28, 2002 (gmt 0)

10+ Year Member Top Contributors Of The Month



I have been interested in doing the same thing, but sorry to say it was too intimidating for my skill level to delve into. I did some research using Flash and Generator, as this looks like another alternative, but that seems like overkill. Can you sticky an output or test URL for what you've tried to accomplish so far?

amoore

12:50 am on Jun 29, 2002 (gmt 0)

10+ Year Member



Sure I do it all the time. I make PNGs and stuff using the GD library and call imagemagik 'convert' directly or through a library to change images types and characteristics.

What's a 'map' file, though? You mean a map in the cartography sense, or a in the imagemap in HTML sense, or what?

Thors Hammer

2:25 am on Jun 29, 2002 (gmt 0)

10+ Year Member



Not sure if this will help, but check it out and see.....

[wdvl.internet.com...]

Good luck,

Thor

:)

lak12

4:03 am on Jun 29, 2002 (gmt 0)

10+ Year Member



Hey everybody!
Thanks for your input. I guess I didn't express myself properly the first time (my mistake).
I can manipulate images with GD, NetPBM, FLY, ImageMagic... what have you. No problem. On my pages there are albums built, images re-sized, I overlay my site logos etc. etc.

My current project is: I have charts of the area. They are in gif, jpeg format - doesn't matter.
I need to make a vector database out of them so I can build them later on-the-fly with data requested by the client, i.e. area with resturant icons, or so.

Did anybody came across any Perl (or PHP) procedures that can digitize map first and then re-build it?

If somebody need Perl cripts on how to manipulate images with NetPBM - sticki mail me... Whatever I know - I can help.

Thanks once again!
Mark.

Brett_Tabke

1:33 pm on Jul 2, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I've been doing GD playing for quite awhile. The problem with using in any of the cpan mods for it, is they all see to take compiling.

It's not all that hard to GD work by hand, but I've never been fond of the quality of the two fonts (lack thereof)...