Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Create watermark image

0 views
Skip to first unread message

Lam

unread,
Jun 19, 2002, 7:09:23 PM6/19/02
to
Hi all,

I try to create an watermark image from the the origin image and an logo.
The image are all in the 'JPEG' format.

Can you help me please!!!
Thanks

Sean McBride

unread,
Jun 19, 2002, 9:50:23 PM6/19/02
to
In article <B9365D32.3FF%lam...@Phreaker.net>,
Lam <lam...@Phreaker.net> wrote:

I think you're going to need to give more info. I for one have no idea
what you mean (please don't take that the wrong way). What are you
trying to do exactly, and what is the problem?

Raoul Ortega

unread,
Jun 20, 2002, 1:24:51 PM6/20/02
to
In article <cwatson-113893...@news21.bellnet.ca>, Sean
McBride <cwa...@cam.org> wrote:

You will need to read in the image, convert it to a GWorld via something
like DecompressImage(), draw on it to your little heart's content with
what ever you want, then convert it back to a JPEG with CompressImage(),
and finally write it back out to disk (either to a new file, or
overwrite the existing).

An experienced Mac developer should be able to do this in a day or so,
as it's all pretty standard stuff. Years ago I worked on a Photoshop
plugin that did watermarking, so the I/O and conversion was handled for
us.

David Phillip Oster

unread,
Jun 21, 2002, 12:50:55 AM6/21/02
to
In article <r.ortega-2EEB36...@news.speakeasy.net>,
Raoul Ortega <r.or...@mouse-potato.com> wrote:

> You will need to read in the image, convert it to a GWorld via something
> like DecompressImage(), draw on it to your little heart's content with
> what ever you want, then convert it back to a JPEG with CompressImage(),
> and finally write it back out to disk (either to a new file, or
> overwrite the existing).

To actually do the watermark, you can do a CopyBits() from the logo
GWorld to the JPEG's GWorld, using the blend, addPin, or subPin transfer
modes, with the amount of ghosting of the logo GWorld given by the
OpColor() RGBColor.

0 new messages