Image Magick & Web applications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chodadog
    Confirmed User
    • Apr 2002
    • 9736

    #1

    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
    26 + 6 = 1
  • Trafficbrokercom
    Confirmed User
    • Dec 2002
    • 542

    #2
    easy.

    coding time 5 minutes ..

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

    Comment

    • chodadog
      Confirmed User
      • Apr 2002
      • 9736

      #3
      You have mail, mike. Cheers.
      26 + 6 = 1

      Comment

      • notjoe
        Confirmed User
        • May 2002
        • 5599

        #4
        Originally posted by chodadog
        You have mail, mike. Cheers.
        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)
        Last edited by notjoe; 11-26-2003, 07:27 AM.

        Comment

        • Arty
          Confirmed User
          • Nov 2002
          • 880

          #5
          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.

          Comment

          • chodadog
            Confirmed User
            • Apr 2002
            • 9736

            #6
            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?
            26 + 6 = 1

            Comment

            • icedemon
              Confirmed User
              • Jun 2003
              • 1022

              #7
              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();
              Clips4Sale.com

              Comment

              • boneprone
                Hall Of Fame
                • Jan 2001
                • 34415

                #8
                My programer can do this.

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

                Industry Hall Of Fame Legend Mike Jones
                Bow to the Power - Still BP4L
                http://gfyawards.com/hall-of-fame
                Learn about it kids.

                Comment

                • fuzebox
                  making it rain
                  • Oct 2003
                  • 22353

                  #9
                  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.

                  Comment

                  Working...