|
-
Oct 9th, 2007, 10:45 AM
#1
Thread Starter
Lively Member
how to add a watermark on a picture and save it using php?
hi,
i looking for a solution to
add a watermark on a picture and save in same directory using php
so far i find a script to add a watermark but i want save that file in same
directory any one can help me?
thanks a lot
-
Oct 18th, 2007, 11:41 PM
#2
Re: how to add a watermark on a picture and save it using php?
This is a php question that would be best fit in the php forum. i will get a mod to move it.
My usual boring signature: Something
-
Oct 19th, 2007, 04:05 AM
#3
Re: how to add a watermark on a picture and save it using php?
Anyone can always either pm a mod or report the thread so someone on the staff can get notice and move a thread. 
Thread Moved
Sounds like you just need help with the saving to a new file?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 19th, 2007, 08:59 AM
#4
Re: how to add a watermark on a picture and save it using php?
Are you using the GD library?
If so, you can just output the image to a file:
PHP Code:
// for a jpeg
imagejpeg ($image, $filename)
http://de3.php.net/manual/en/function.imagejpeg.php
-
Oct 19th, 2007, 04:29 PM
#5
Re: how to add a watermark on a picture and save it using php?
 Originally Posted by RobDog888
Anyone can always either pm a mod or report the thread so someone on the staff can get notice and move a thread. 
Thread Moved
Sounds like you just need help with the saving to a new file?
i pmed hack last night.
If you are uploading the file, you are going to have to upload it, load it into gd, and save it again. gd functions
My usual boring signature: Something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|