GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Image Magick & Web applications (https://gfy.com/showthread.php?t=201820)

chodadog 11-26-2003 05:34 AM

Image Magick & Web applications
 
I'm looking for anyone that has had experience using ImageMagick in web applications. I need someone who can code me something that will enable ImageMagick to create a bitmap image with text entered into a form, and save the image with variables in the file name taken from parameters sent via the form.

I barely understood that myself. haha.

Hit me up on icq: 247847856

Trafficbrokercom 11-26-2003 07:05 AM

easy.

coding time 5 minutes ..

if you can give a better description of what you need ..

chodadog 11-26-2003 07:18 AM

You have mail, mike. Cheers. :glugglug

notjoe 11-26-2003 09:24 AM

Quote:

Originally posted by chodadog
You have mail, mike. Cheers. :glugglug
I think he basically wants to prevent automated logins by creating an image based login where the surfer has to manually enter the number(s) in the image back into the form to verify it is infact a human.


Generate the number based image.
Generate a hash.
Put the hash in a hidden field
Display image

And on submiting
Verify the hash exists in the db, and that the number in the next field beside the hash is the same number which was entered in the form area.

(doesnt have to be used to stop a login but can be used to break any automated process)

Arty 11-26-2003 10:11 AM

I guess you've already found your help, but I just wanted to add that GD would be a better choice for that rather than the ImageMagicK.

chodadog 11-26-2003 07:45 PM

Quote:

Originally posted by Arty
I guess you've already found your help, but I just wanted to add that GD would be a better choice for that rather than the ImageMagicK.
What's GD?

icedemon 11-26-2003 07:58 PM

You can find out about GD here
http://www.boutell.com/gd/
If your doing what notjoe was talking about, GD would be way better to make pics with in the program. Here is what I do in Perl.

Code:

#!/usr/bin/perl

use CGI;
use GD;
use String::CRC32;

# create a new image
$q = CGI->new();
$im = GD::Image->new(100,15);
$crc = crc32($q->remote_host());

# allocate some colors
$bg = $im->colorAllocate(96,128,160);
$white = $im->colorAllocate(255,255,255);

$im->transparent($bg);
$im->interlaced('true');
$im->string(gdGiantFont,0,0,$crc,$white);

print $q->header(-type=>'image/jpeg');
print $im->jpeg();


boneprone 11-26-2003 08:01 PM

My programer can do this.

Hit me up ill send em your way.
He works for tips and tips alone like any good stripper.

fuzebox 11-26-2003 08:04 PM

Quote:

Originally posted by Arty
I guess you've already found your help, but I just wanted to add that GD would be a better choice for that rather than the ImageMagicK.
Doh, got to this thread too late. Yes, GD is what you want.

If you haven't already selected from the half dozen other posts above, give me a shout. :)


All times are GMT -7. The time now is 07:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123