TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-27-2010, 10:31 PM   #1 (permalink)
The Visitor
 
Join Date: Sep 2010
Posts: 4
Thanks: 0
Et3rnity is on a distinguished road
Default watermark images

hi there,
I am busy with this uploading script for weeks now almost finished but now, I've stumbled upon a really annoying problem and can't figure it out.

When i try to watermark with the image below I'm getting this choppy white blocks around my images. tried GIF and PNG8bits still the same, then i tried PNG24bits converting to 8bits with pngquant :/ same again.



then I tried to make the sharp green background transparent


PHP Code:
<?php
$color 
hexdec("00ff00");
imagecolortransparent($this->_watermark$color);
?>
but that didn't work well for me

I came across iMagick from imageMagick from help of another site but i would prefer not to use extensions for PHP

I am gonna get mad because this is first time I am using PHP with file handling and don't experience verry well so if someone could help would apreciate it alot.

has anyone suggestions??
Et3rnity is offline  
Reply With Quote
Old 09-28-2010, 09:39 PM   #2 (permalink)
The Visitor
 
Join Date: Sep 2010
Posts: 4
Thanks: 0
Et3rnity is on a distinguished road
Default

solved... thread can be closed :/
Et3rnity is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cropping Images using PHP Rendair Advanced PHP Programming 22 05-17-2012 10:22 AM
uploading images into a tabe by multi users sarmenhb Absolute Beginners 1 06-20-2008 02:51 PM
Sliced Images not working in php site Kay1021 XHTML, HTML, CSS 5 06-03-2008 06:40 PM
Watermaking Images Rendair Advanced PHP Programming 8 02-02-2008 09:10 PM
Adding Images to a database from a folder Rendair Advanced PHP Programming 3 01-13-2008 06:40 PM


All times are GMT. The time now is 12:03 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design