- Tong - on wrote... | Hi Anthony, | | I've got some suggestions to your Digital Photo Handling section. | http://www.imagemagick.org/Usage/photos/ | | FYI, If you still remember me, I'm the one who asked your help on | producing the neon glowing effect. | | The effect can also help produce the effect that real camera | imprinting date onto the films, not digital camera imprint date on | pictures -- the difference is the glowing effect. |
the glow or 'halo' effect is there for a good reason. to ensure the text is visible even when the backgorund is the same color of the text. I use the same effect in image annotation... http://www.imagemagick.org/Usage/annotating/#anno_on | As we know, most digital camera won't imprint date on the | pictures, so I think you may want to add how to do this to your | digital photo handling section. Thanks to your help, I managed to | create such glowing date imprints onto my digital photos. I am | satisfied with the result, and from now on I won't let digital | camera do it for me even if it can, because I believe date | imprinted this way looks much better. Still, I consider it in | pilot stage, and writing to ask for your comments. | | Fist some background, | | - I set my picture size on my digital camera to be 1600x1200. I | think this is the size that can give enough details (normally | portrait, not scenery), even for digital printing. What's your | opinion? | | - From experiment, I found that using 32 point font size is good | for date imprinting for 1600x1200 images. What's your opinion? | Sorry I have no oppinion on this. | Now here is how I did it: | | Grap floriade.jpg from | http://www.ibm.com/developerworks/library/l-graf/floriade.jpg | | then, | | convert -resize 1600x1200 floriade.jpg floriade.big.jpg | convert -gravity NorthEast -crop 640x480+0+0 floriade.big.jpg floriade-NE.jpg | | fg=gold | ft=basicdots.ttf | fs=32 | wd=2007-06-17 | | convert -size 300x60 xc:none -font $ft -pointsize $fs -gravity center -stroke black -strokewidth 2 -annotate 0 "$wd" -channel RGBA -blur 0x2 -stroke none -fill $fg -annotate 0 "$wd" -blur 0x2 -annotate 0 "$wd" +size floriade-NE.jpg +swap -gravity NorthEast -geometry +50+40 -composite dated.pic.jpg | | I noticed that all the strokewidth/blur setting really related to | the point font size that we choose. This is the setting I found | satisfying, via experiment. I want the settings to be enough to make | the difference, but just enough as not to interfere with the original | photo. FYI, I put the test result file at | http://xpt.sourceforge.net/download/dated.pic.jpg | | I'll like your comment before proceeding. E.g., is font size 32 really | looks good on floriade.big.jpg? etc. | I have no idea! Compare it to a real photo. Or measure it on a real photo. the pointsize however will probbaly be always done to a 'landscape' photo, never portraite. and will probably be related to the size of the image (EG: size for a 4x3 inch photo print) rather than a specific point size. And yes stroke is also relative. On method may be to use more complex 'draw' to commands to draw the date on the image in a 'transformed' way so as to pretend the image is always a 4x3 inch print. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- Glad to be of service! --- A Door - ``Hitchhikers Guide to the Galaxy'' ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
