Customizing a Graphic

Discussion in 'HTML' started by grantroelofs@gmail.com, Jul 25, 2007.

  1. Guest

    I have web course on a website that I would like to generate a
    certificate for when completed. I would like the certificate to be
    presented to the user as a single graphic. This means getting the
    persons name and date into the graphic. I don't want HTML text
    overlaying a background image. I would also like the option for the
    user to upload an image which could also be put into the certificate.
    I want the user to be able to download this image, the big reason I
    want it all in a single graphic. Can someone offer me some advice on
    how to make these images automatically. I do want the quality to look
    as professional as possible.
    , Jul 25, 2007
    #1
    1. Advertising

  2. thanatoid Guest

    wrote in
    news::

    > I have web course on a website that I would like to
    > generate a certificate for when completed. I would like
    > the certificate to be presented to the user as a single
    > graphic. This means getting the persons name and date into
    > the graphic. I don't want HTML text overlaying a
    > background image. I would also like the option for the
    > user to upload an image which could also be put into the
    > certificate. I want the user to be able to download this
    > image, the big reason I want it all in a single graphic.
    > Can someone offer me some advice on how to make these
    > images automatically. I do want the quality to look as
    > professional as possible.


    Forgive me if I misunderstood, but YOU are TEACHING a COURSE???
    O N W H A T ???????


    --
    Any mental activity is easy if it need not be subjected to
    reality.
    thanatoid, Jul 25, 2007
    #2
    1. Advertising

  3. Neredbojias Guest

    Well bust mah britches and call me cheeky, on Wed, 25 Jul 2007 04:09:03 GMT
    scribed:

    > I have web course on a website that I would like to generate a
    > certificate for when completed. I would like the certificate to be
    > presented to the user as a single graphic. This means getting the
    > persons name and date into the graphic. I don't want HTML text
    > overlaying a background image. I would also like the option for the
    > user to upload an image which could also be put into the certificate.
    > I want the user to be able to download this image, the big reason I
    > want it all in a single graphic. Can someone offer me some advice on
    > how to make these images automatically. I do want the quality to look
    > as professional as possible.


    Don't think that can be done but I'd be happy to be proven wrong.

    --
    Neredbojias
    Half lies are worth twice as much as whole lies.
    Neredbojias, Jul 25, 2007
    #3
  4. On 2007-07-25, wrote:
    > I have web course on a website that I would like to generate a
    > certificate for when completed. I would like the certificate to be
    > presented to the user as a single graphic. This means getting the
    > persons name and date into the graphic. I don't want HTML text
    > overlaying a background image. I would also like the option for the
    > user to upload an image which could also be put into the certificate.
    > I want the user to be able to download this image, the big reason I
    > want it all in a single graphic. Can someone offer me some advice on
    > how to make these images automatically. I do want the quality to look
    > as professional as possible.


    That can be done with ImageMagick.

    --
    Chris F.A. Johnson <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
    Chris F.A. Johnson, Jul 25, 2007
    #4
  5. Guest

    "Chris F.A. Johnson" <> wrote:

    >On 2007-07-25, wrote:
    >> I have web course on a website that I would like to generate a
    >> certificate for when completed. I would like the certificate to be
    >> presented to the user as a single graphic. This means getting the
    >> persons name and date into the graphic. I don't want HTML text
    >> overlaying a background image. I would also like the option for the
    >> user to upload an image which could also be put into the certificate.
    >> I want the user to be able to download this image, the big reason I
    >> want it all in a single graphic. Can someone offer me some advice on
    >> how to make these images automatically. I do want the quality to look
    >> as professional as possible.


    > That can be done with ImageMagick.


    instead it can modify an already existing image
    http://en.wikipedia.org/wiki/ImageMagick

    He would need something that could generate images (persons name and
    such) as layers, then flatten the image.
    --
    Man changing flat tire on his RV surprised when airplane
    bounces over his vehicle during emergency landing.
    http://tinyurl.com/2gboar
    , Jul 25, 2007
    #5
  6. writes:

    > I have web course on a website that I would like to generate a
    > certificate for when completed.


    A "web course?" I hope it's not about web development, because if so then
    asking this question seems to disqualify you from teaching it. :)

    > I would like the certificate to be
    > presented to the user as a single graphic. This means getting the
    > persons name and date into the graphic. I don't want HTML text
    > overlaying a background image.


    Options abound. You could use ImageMagick or GD, which are both accessible
    from a wide variety of languages:

    <http://www.imagemagick.org>
    <http://www.libgd.org>

    Regardless of the toolkit or language you use, the general approach will be
    the same: You'd composite the image layers on the server, using the static
    background, generated text, and uploaded image. The result would be a bitmap
    that you would then compress to either GIF or JPEG to return to a browser.

    None of that is at all relevant to HTML though - it's all done on the server,
    which produces either image/gif or image/jpeg data in its response. You'd
    refer to the server-side app that produces the image the same way you would
    any other image, with an img element:

    <img src="make_image.cgi?id=bar">

    sherm--

    --
    Web Hosting by West Virginians, for West Virginians: http://wv-www.net
    Cocoa programming in Perl: http://camelbones.sourceforge.net
    Sherm Pendley, Jul 25, 2007
    #6
  7. On 2007-07-25, wrote:
    > "Chris F.A. Johnson" <> wrote:
    >
    >>On 2007-07-25, wrote:
    >>> I have web course on a website that I would like to generate a
    >>> certificate for when completed. I would like the certificate to be
    >>> presented to the user as a single graphic. This means getting the
    >>> persons name and date into the graphic. I don't want HTML text
    >>> overlaying a background image. I would also like the option for the
    >>> user to upload an image which could also be put into the certificate.
    >>> I want the user to be able to download this image, the big reason I
    >>> want it all in a single graphic. Can someone offer me some advice on
    >>> how to make these images automatically. I do want the quality to look
    >>> as professional as possible.

    >
    >> That can be done with ImageMagick.

    >
    > instead it can modify an already existing image
    > http://en.wikipedia.org/wiki/ImageMagick
    >
    > He would need something that could generate images (persons name and
    > such) as layers, then flatten the image.


    With ImageMagick, a command like this could be used to put the
    text "John Doe" onto the image xx.png:

    convert -font "-*-helvetica-bold-r-normal--*-240-*-*-*-*-*-*" \
    -fill black -draw "text 160,100 'John Doe'" \
    xx.png xxx.png

    Unfortunately, convert requires an X server, so it cannot be used
    in a CGI (or is there a way?).

    Another possibility is to write a PostScript file (see
    <http://woodbine-gerrard.com/testing/xx.cgi>); ideally it should be
    converted to PDF, but that, too, requires X.

    --
    Chris F.A. Johnson <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
    Chris F.A. Johnson, Jul 25, 2007
    #7
  8. wrote:
    > I have web course on a website that I would like to generate a
    > certificate for when completed...


    This is a simple process with Flash. All of the training we create
    have printable certificates when the courses are over. I believe you
    can find something at www.flashkit.com that will meet your needs.
    Travis Newbury, Jul 25, 2007
    #8
  9. On Jul 25, 1:12 am, Neredbojias <> wrote:
    > > I have web course on a website that I would like to generate a
    > > certificate for when completed....

    > Don't think that can be done but I'd be happy to be proven wrong.


    Flash can do it...
    Travis Newbury, Jul 25, 2007
    #9
  10. Neredbojias Guest

    Well bust mah britches and call me cheeky, on Wed, 25 Jul 2007 10:01:15 GMT
    Travis Newbury scribed:

    > On Jul 25, 1:12 am, Neredbojias <> wrote:
    >> > I have web course on a website that I would like to generate a
    >> > certificate for when completed....

    >> Don't think that can be done but I'd be happy to be proven wrong.

    >
    > Flash can do it...


    The methods I've read about in this thread so far seem kind of hard. I
    want something easy, man, like a no-brainer.

    --
    Neredbojias
    Half lies are worth twice as much as whole lies.
    Neredbojias, Jul 25, 2007
    #10
  11. wrote:
    > I would also like the option for the
    > user to upload an image which could also be put into the certificate.
    > I want the user to be able to download this image, the big reason I
    > want it all in a single graphic. Can someone offer me some advice on
    > how to make these images automatically. I do want the quality to look
    > as professional as possible.
    >


    'As professional as possible'? Does it need to be online? You could just
    set up a PDF-form with Adobe Acrobat where people can enter their name
    and insert their own image into a predefined text and image-field. This
    can be done pretty easy with Adobe Acrobat. If it needs to be online:
    let the person download the PDF-form, then she will complete the
    certificat offline, save it, and upload it again to your course-server...

    Just my two cents
    bernhard


    --
    www.daszeichen.ch
    remove nixspam to reply
    Bernhard Sturm, Jul 25, 2007
    #11
  12. Animesh K Guest

    Neredbojias wrote:
    > Well bust mah britches and call me cheeky, on Wed, 25 Jul 2007 04:09:03 GMT
    > scribed:
    >
    >> I have web course on a website that I would like to generate a
    >> certificate for when completed. I would like the certificate to be
    >> presented to the user as a single graphic. This means getting the
    >> persons name and date into the graphic. I don't want HTML text
    >> overlaying a background image. I would also like the option for the
    >> user to upload an image which could also be put into the certificate.
    >> I want the user to be able to download this image, the big reason I
    >> want it all in a single graphic. Can someone offer me some advice on
    >> how to make these images automatically. I do want the quality to look
    >> as professional as possible.

    >
    > Don't think that can be done but I'd be happy to be proven wrong.
    >


    Php can generate images, I think. Though am unsure if this can be done
    purely in html.

    Other option would be to generate a pDF from a latex installation on Linux.
    Animesh K, Jul 25, 2007
    #12
  13. Animesh K <> writes:

    > Php can generate images, I think.


    Pretty much any server-side technology I can think of is capable of it.
    Some (like Macradobe's Generator) are specialized for just that.

    > Though am unsure if this can be done purely in html.


    I can't imagine how it possibly could be - especially given the OP's
    requirements of the end result being a single graphics file with no
    overlaid HTML text.

    sherm--

    --
    Web Hosting by West Virginians, for West Virginians: http://wv-www.net
    Cocoa programming in Perl: http://camelbones.sourceforge.net
    Sherm Pendley, Jul 25, 2007
    #13
  14. JWS Guest

    wrote:
    > I have web course on a website that I would like to generate a
    > certificate for when completed. I would like the certificate to be
    > presented to the user as a single graphic. This means getting the
    > persons name and date into the graphic. I don't want HTML text
    > overlaying a background image. I would also like the option for the
    > user to upload an image which could also be put into the certificate.
    > I want the user to be able to download this image, the big reason I
    > want it all in a single graphic. Can someone offer me some advice on
    > how to make these images automatically. I do want the quality to look
    > as professional as possible.
    >


    An interesting example is

    http://www.churchsigngenerator.com/
    JWS, Jul 26, 2007
    #14
  15. Rev. LuvJoy Guest

    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vsssandeep boggavarapu via .NET 247

    Customizing the Data Grid Control

    vsssandeep boggavarapu via .NET 247, Jun 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    577
    Alvin Bruney [MVP - ASP.NET]
    Jun 11, 2005
  2. Mithun Verma

    Customizing crystal reports through code

    Mithun Verma, Jul 1, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    340
    Mithun Verma
    Jul 1, 2003
  3. John Knoop

    Customizing XML from DataSet

    John Knoop, Oct 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    341
    John Knoop
    Oct 22, 2003
  4. Lucas

    Re: Customizing Print

    Lucas, Jan 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,213
    Chris Jackson
    Jan 13, 2004
  5. 50 SOMETHING GAL
    Replies:
    3
    Views:
    391
Loading...

Share This Page