473,320 Members | 1,993 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

watermark on .jpg, .gif, .png

Hello Friends,

I want to add the watermark on the all types of images like .jpg, .gif
(animated gif), .png etc while user uploads the photo.

Does anyone have script that works for all types of images?

The image size is not fixed. So I need to consider that too.

Thanx in advance.

Jul 17 '07 #1
1 2447
please see:

getimagesize
imagecreatefromstring
imagecreatetruecolor
imagecopymerge
imagegd
imagegif
imagejpeg
imagepng
imagedestroy

you may want to also use:

imagetypes

so that you can tell what image types your build of php is supporting.
<hi*********@gmail.comwrote in message
news:11**********************@e9g2000prf.googlegro ups.com...
| Hello Friends,
|
| I want to add the watermark on the all types of images like .jpg, .gif
| (animated gif), .png etc while user uploads the photo.
|
| Does anyone have script that works for all types of images?
|
| The image size is not fixed. So I need to consider that too.
|
| Thanx in advance.
|
Jul 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Thomas | last post by:
I've searched google for this topic and found a few examples, but I need an example of how to create a semi-transparent, non-intrusive watermark for images using PIL, something that takes into...
2
by: export | last post by:
Is there a way how to put a watermark on images by using Python? Lad.
2
by: tvmaly | last post by:
I have been trying to add a watermark to a jpeg using PIL, but the watermark has a black box around it. I looked at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362879 and ...
0
by: Keith Davies | last post by:
Hi All, a friend wants to create a PDF (using XSL-FO) that contains a watermark that covers the entire page. <fo:block background-image='...'> surrounding the content of the flow almost...
1
by: unerwartet | last post by:
Hi, I want to access the high-watermark-vector of a specific domain controller in the active directory from c#. But I do not know how to achieve this. I tried it with: ...
1
by: m3ckon | last post by:
I have a requirement for a new website to create an image based web site. The site needs to have an administration area where admin can upload images to be displayed on the site. These images...
1
by: Cindy H | last post by:
Hi I'm would like to use a watermark for a background on my web pages. I used the style builder in Visual Studio.Net to add this as a background. It inserted the code in the <body> The problem...
9
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of...
0
by: =?Utf-8?B?S2Vycnk=?= | last post by:
Hi all -- I am a long-time C programmer and "medium-time" C++ programmer, but am brand new to C#. I am creating a simple app using C# and I need help. The app will display a "watermark" on...
1
by: rfr | last post by:
Apparently the Transitional Doctype kills this script because the script does not make proper use of units like "px". It works well without a doctype statement. But once someone adds a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.