php-general Digest 11 May 2009 13:03:59 -0000 Issue 6115
Topics (messages 292433 through 292436):
Watermarking of images
292433 by: Michael A. Peters
292435 by: Lenin
Deactivate COM/.NET Extension on Windows Server
292434 by: Matthias Burtscher
Re: New to PHP question
292436 by: Robert Cummings
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I need to know the best way to dynamically watermark images via gd.
This is an example of what I currently have:
http://www.shastaherps.org/images/66-3.jpg
That's using Lucida Mono. A really nice monospace font (very similar to
Apple's Monaco), the font I like to use in text editors, but perhaps not
the best font for watermarking.
This is an example of a much better watermark:
http://www.naherp.com/vouchers/24116-24060.jpg
I'm not sure what font that is (anyone know ??) but that site looks like
it somehow adds a black border around the font, making the watermark
much better.
With mine, on certain backgrounds the watermark has to moved from one
corner to another or the color has to be changed in order for it to
properly show.
That site is also coded in php so I'm guessing that the watermark is
added using a php technology.
Can someone enlighten me on how that is done?
Also, while not php related, could someone enlighten me of a really good
font to use for watermarking images?
--- End Message ---
--- Begin Message ---
I haven't used GD lib yet. But I can suggest one thing, that is
printing a layer of color under the text to be printed could be a
saver.
I dont know how translucency is made but thats another way to make
better WaterMarks as well.
--- End Message ---
--- Begin Message ---
Hello out there!
We are experiencing a problem with one of our PHP products (a community
builder solution) on Windows Servers running PHP 5.
We use the classname "com" in our application, COM/.NET extension uses
the same classname. This is the conflict. Rewriting our application to
not use the "com" classname is not a very attractive solution for us.
Is there any chance to disable a compiled-in extension like COM/.NET? Or
do we have to compile PHP on ourselves without COM/.NET extension?
I'm asking myself why an extension like COM/.NET is built-in? How much
people need this extension, I can't understand that ...
Thanks in advance!
Kind regards,
Matthias
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss
für nur 17,95 Euro/mtl.!*
http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
--- End Message ---
--- Begin Message ---
On Wed, 2009-01-28 at 23:42 +0000, Ashley Sheridan wrote:
>
> I hate div'itis as well. Some people seem to think it's a big faux pas
> to use table tags now, when that couldn't be more wrong. Use tables for
> tabular data, CSS for the rest (with as few exceptions - and there are
> always some eh - as you can manage.) I've seen people try to rebuild a
> table of data, that you might represent in a spreadsheet, as a
> collection of div's. Bad form, as the data has now lost all meaning.
> This is the same as replacing all your <h1> tags with <div
> class="header1"> or <strong> with <span class="bold">. Silly idea, slap
> on the wrist, don't do it again.
>
> Personally, CSS is my preferred way of working now. I can define a whole
> bunch of elements, semantically as possible, and then can redefine the
> look as often as I wish afterwards with CSS. Look at the CSS Zen Garden
> if you don't believe how useful this is. Rather than going through a
> bunch of page to replaces tables, or PHP code to change the output
> layout, you can redefine your CSS to alter the look. It's not a black
> art, it just needs a little practise. Remember how bad we all were when
> we first started using HTML? It's exactly the same thing here!
I thought I'd dredge up this old, old topic to add some comments about
some recent stuff I did since this thread (or many similar to it) were
in the back of mind. Specifically I was creating a new look and feel for
my MUD hobby website and I wanted to make use of lots of PNG images with
alpha transparency. Additionally I wanted variable width. I felt tables
were the best approach for this because div based sliding door
techniques and multi-level div containers don't work when the alpha
transparency will reveal the underlying sliding or container background.
I just don't think I could accomplish the same results using divs and
floats.
http://www.wocmud.org/welcome.php
Comments?
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--- End Message ---