Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Computer Support (http://www.velocityreviews.com/forums/f33-computer-support.html)
-   -   Customizing a Graphic (http://www.velocityreviews.com/forums/t524572-customizing-a-graphic.html)

grantroelofs@gmail.com 07-25-2007 04:09 AM

Customizing a Graphic
 
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.


thanatoid 07-25-2007 05:02 AM

Re: Customizing a Graphic
 
grantroelofs@gmail.com wrote in
news:1185336543.003366.239300@19g2000hsx.googlegro ups.com:

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

Neredbojias 07-25-2007 05:12 AM

Re: Customizing a Graphic
 
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.

Chris F.A. Johnson 07-25-2007 05:20 AM

Re: Customizing a Graphic
 
On 2007-07-25, grantroelofs@gmail.com 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)

Pennywise@DerryMaine.Gov 07-25-2007 06:11 AM

Re: Customizing a Graphic
 
"Chris F.A. Johnson" <cfajohnson@gmail.com> wrote:

>On 2007-07-25, grantroelofs@gmail.com 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

Sherm Pendley 07-25-2007 06:32 AM

Re: Customizing a Graphic
 
grantroelofs@gmail.com 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

Chris F.A. Johnson 07-25-2007 08:48 AM

Re: Customizing a Graphic
 
On 2007-07-25, Pennywise@DerryMaine.Gov wrote:
> "Chris F.A. Johnson" <cfajohnson@gmail.com> wrote:
>
>>On 2007-07-25, grantroelofs@gmail.com 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)

Travis Newbury 07-25-2007 10:00 AM

Re: Customizing a Graphic
 
grantroel...@gmail.com 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 07-25-2007 10:01 AM

Re: Customizing a Graphic
 
On Jul 25, 1:12 am, Neredbojias <monstersquas...@yahoo.com> 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...



Neredbojias 07-25-2007 11:10 AM

Re: Customizing a Graphic
 
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 <monstersquas...@yahoo.com> 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.


All times are GMT. The time now is 04:43 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.