Re: Watermarking with GD, but a bit different....



Geoff Berrow wrote:

Message-ID: <4t0fr4F11g1p2U1@xxxxxxxxxxxxxxxxxx> from Danny Boy
contained the following:


I know nothing about php, but a great deal of html and CSS. I usually hire php developers when I need one, but I want to have a basic understanding of the possibilities, problems and the amount of work involved.


Umm, you suspect your developer is ripping you off? <grin>

How on earth would you think something like that. :-)
No, seriously: It's not only to know that, which helps a lot. It's also to get a general grip of what's going on and a huge dash of my omnipresent curiosity.



User select one color image from one directory, i.e. some artwork. He then selects the frame he like to have the artwork in. All various frames are also color images, but with a white canvas. When he clicks "OK", the two images should merge so that the artwork shows inside the frame.


Doing it with a merge is pretty easy, but can be a bit server intensive.
The best option is to save the merge once done. That way, if the same
parameters are requested by someone else, the image is already made.
Alternatively, for something like a frame you may be able to get away
with dynamically generated divs. See
http://www.walkingoutdoors.co.uk/Geoff/gallery/index.php for an example.

I am sorry I used the word "frame". But as it's a concept that existed shortly before the birth of the Internet, I thought it might still mean something else than html frames occasionally. :-)

I meant images of the kind of frames you use around e.g. paintings. Like these: http://www.museum-replicas.com/Frames.asp


Code for the above is here
http://www.walkingoutdoors.co.uk/Geoff/gallery/gallery.zip

If I may add to the wish list, the script should also be able to memorize both the id of the artwork and the frame to use e.g. when returning to the URL later, or for input into a shopping cart where the two parameters should be defined.


Easy. Just save it as a SESSION variable.


Thanks Geoff.
.



Relevant Pages

  • Re: SLR concerns, owners experiences please.
    ... near full frame. ... Even in your old bird video, unless it's entirely out of focus, I'm sure ... I congratulate on some excellent images. ... how do we know that was not the only "in focus" shot outa 30? ...
    (rec.photo.digital.slr-systems)
  • Re: Watermarking with GD, but a bit different....
    ... php developers when I need one, but I want to have a basic understanding ... User select one color image from one directory, i.e. some artwork. ... images should merge so that the artwork shows inside the frame. ... positioned div) containing the artwork on top of the frame image. ...
    (alt.php)
  • Re: PCI Frame Grabbers
    ... In general no, in my opinion as a radiologist, video frame-grabbed ... images are undesirable for most ... annotation in the video signal, etc. Video frame grabbing, like ... digital interface or a proprietary digital interface has largely ...
    (comp.protocols.dicom)
  • Re: PCI Frame Grabbers
    ... In general no, in my opinion as a radiologist, video frame-grabbed ... images are undesirable for most ... annotation in the video signal, etc. Video frame grabbing, like ... digital interface or a proprietary digital interface has largely ...
    (comp.protocols.dicom)
  • Re: open letter to the Google company, on the value of the scientific groups
    ... connection between human feet and images captured digitally. ... presented frame by frame in the end -- as "from one image to the ... startling to someone wishing to captureframeswith it). ...
    (sci.lang)