Inline images

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
bozlax
Forum Newbie
Posts: 7
Joined: Tue Nov 13, 2007 4:51 pm

Inline images

Post by bozlax »

Does anybody have a good tool for [edit]modifying images in-line[/edit]? I'm trying to use gdlib with php, but the fills in gd don't seem to be very good. I've tried flydraw from a command-line, but can't get the copy() function to load an external file (it always gives me "file not found" errors).

Any suggestions?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What do you define as "inline images"?
bozlax
Forum Newbie
Posts: 7
Joined: Tue Nov 13, 2007 4:51 pm

Scratch this one

Post by bozlax »

Onion helped me resolve the issue with gd, so this thread is moot, but what I'm trying to do is alter a stored image from within a php script.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What specific problem are you having in doing so?
bozlax
Forum Newbie
Posts: 7
Joined: Tue Nov 13, 2007 4:51 pm

Post by bozlax »

The specific problem in my project was that imagefill() (in gdlib) wasn't filling all the way to the borders of an irregular area drawn in Gimp. The solution was that I needed to save the image as a PNG rather than JPEG. After re-filling the area with white in Gimp and saving it as PNG, imagefill worked perfectly.

The specific problem I was having with flydraw in trying to solve the above problem is that copy() wouldn't load the image from disk. Since the problem can now be solved in PHP, tho, I'm not worrying about flydraw any more.
Post Reply