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?
Inline images
Moderator: General Moderators
Scratch this one
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.
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.
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.