This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > July 2006 > Vintage Postcard Script
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Vintage Postcard Script
|
|
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Over in the Photography newsgroup I asked Nightingail how she did
her vintage postcard effect. She replied in some detail but I wasn't
always able to follow quite why she did the things she did. As a
result, I cooked up a script which runs silently but afterwards
allows you to tweak the effect by manipulating labeled layers. I
like the script but it may not be what Nightingail prefers and
you may or may not like it. Below I have cut and pasted the main
elements of her procedure and I have noted what I did differently
in the script and why. Obviously without her input I would never
have come up with the script so I am very grateful for the
explanations she provided.
Nightingail wrote:
> I tried to come up with an exact recipe, and I'll list the steps I used for
> the attached Before and After pictures.
> My point is, I tried to come up with the same *exact* look on
> photos from other places using the same steps I used for this, and found
> that I couldn't do it without trial-and-error steps, mainly with Curves and
> HSL adjusments, that differ for each source photo.
I used your ideas and came up with a different (and I think simpler)
approach which should still allow you to tweak, but after the fact.
> 1. Run the script Sketch Gail1.
The purpose of this seems to be to make a black and grey sketch
on a white background. Edges > Find All in PSP 9 onwards does
that so I used this built-in command. Since the PSP 9 command is
a JPEG block detector I run JPEG Artifact Removal before finding
the edges. The resulting Sketch layer is set to a blend mode of
Multiply so it is a modifier for the original image and the white
background has no effect. The opacity of the Sketch layer can be
tweaked after the fact.
[Note: Prior to PSP 9 Edges > Find All used a different calculation
and gave white on black results. The old behavior is in a script
called Find all edges (legacy) and actually runs the User Defined
Filter. If you use this approach you will need a Negative Image
step after the Find All. You may also need to tweak the gamma of
the edge image. You could just insert the steps from Gail's Sketch
script into my script instead.]
> 2. Make sure the top layer is active, Copy-Merged, then Undo the script
> (including what you did after running it). Paste the new layer on top of the
> background layer.
I don't like steps that commit you to one setting early in the
process so I skipped it. However, I found lightening the original
image (against which the Sketch layer is blended) is a good thing.
I did this with a Levels adjustment layer above the original and
below the edge layer. This can also be tweaked after the fact,
either by changing the gamma from my value to to some other or
simply by lowering the opacity of the Levels layer.
> 3. You may or may not want to adjust the opacity of this layer. If you do,
> then do another Copy-Merged, paste as new layer, but *don't undo* anything
> from here on. (The reason for not undoing is so that you can go back and
> make various changes if desired. Since I use trial-and-error a lot when I
> work, I generally find this to be an easier way of making changes than using
> the selective undo function).
I skipped all this. However, at this point I applied the yellowing
that Gail prescribes. Instead of using Black and White Points,
which requires commitment to specific settings by merging, I
converted the color adjustment to equivalent settings in a Curves
adjustment layer above the Sketch layer.
> 4. On the top layer, apply the Unsharp Mask. Radius 1, Strength 500,
> Clipping 0, Luminance checked.
Sharpening at any pixel depends on the surrounding pixels so you
can't do it except on a merged image. To defer the commitment to
prior settings that merging represents I first added an H/S/L
adjustment layer to increase saturation.
Only after this did I do a Copy Merged, Paste As New Layer and USM
with Gail's settings. To tweak the effect only this step would
have to be repeated after changes in the layer stack below. Since
the Copy Merged and USM layer is not used at full opacity even
that may not be needed.
> 5. The next step is to adjust the contrast, again 'to taste', and it can be
> done in any way you like.
I skipped all this. The Levels layer and potentially the Curves
layer I already added can do all this. However, if you really
want an independent way to adjust contrast add a Curves or Levels
(or even a Brightness/Contrast) adjustment layer above the H/S/L
adjustment layer before executing the Copy Merged and USM cited
in the previous step.
> 6. On the dup layer, use the Black and White points preset called.
I found it even without a name :) As explained earlier it was
already applied in a previous step.
> 7. Adjust the opacity of this layer. I used about 60.
Skipped because step 6 was skipped.
> 8. The next steps are fine tuning, and the word "exact" really becomes
> meaningless. Sorry, I'm trying. I've been working on this for about 2 hours
> now. Yep, I'm slow with this kind of thing ;-) Ok, so what you need to do
> now is to adjust the contrast with a Curves layer to what you think looks
> good. Then do the same with an HSL adjustment layer.
I'm really confused by this for several reasons. First, I have
no criterion for "goodness" of contrast. In other words I don't
know what I am trying to achieve and personally I don't think
there is a lot bad with what I've done already :) Second, I don't
understand why Curves - the most powerful and flexible way of
adjusting global contrast - is followed by additional adjustment
of contrast with H/S/L, which frankly is a clunker for this
purpose. There are already five things going on so these kinds
of extra complications I skipped.
> You will most likely
> need to take the Saturation up quite a bit, and possibly change the settings
> of some of the individual colors.
I already did this in step 4 and you can go back and tweak.
> 9. Resize down to what your final image size is going to be. If it looks too
> sharp for your purposes, then you can do an overall softening using whatever
> method you prefer, for example: Copy-Merged and Paste as new layer. Apply a
> small radius Gaussian blur to this layer and take the opacity way down until
> it suits you.
I've encapsulated my steps in a script. It seems to work well on
images in the roughly 1000 x 1000 pixel size range. In other words
I suggest resizing down from 12 megapixels (or something more
modest that you are using) before running the script. Everything
will go faster.
> I realize that the steps in this write-up might not seem completely logical,
> so if anyone has any questions, please don't hesitate to ask ;-)
They are a bit much for me to get my head around since I'm never
quite sure what the purpose of each step is. Accordingly I've
changed things around into a script based as much as possible on
adjustment layers and layers with adjustable opacity so you can
just run the script and fine tune without having to do lots of
undoing, copy merging and what have you.
The script is attached. Unzip it to your Scripts-Restricted folder.
It's worked fairly well on images I tried it on. Blue sky and
man-made objects, preferably lighter in color, with rectilinear
detail seem to be good elements to have in the picture when applying
the script. If used on images with vegetation, the leaves need to
be big enough that there is room for their edges (i.e. trees should
not be too distant) and the vegetation should fill only part of the
image. Water doesn't have to be present in the image. Sometimes it's
good to have. If present without some of the features I mentioned,
water isn't going to do you any good as far as creating the
impression of an old postcard is concerned.
It might be good to add a step of creating a yellowed border around
the image but in my opinion that's best done separately. You can
just drag the Curves adjustment layer onto the border image to do
the yellowing.
I'll post some example images at default settings in some follow-up
posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
All of the images were created at default settings. Some of the
later ones had JPEG artifacts in the sky originally that are
captured by PSP's Find All Edges approach. In those cases lowering
the opacity of the Sketch layer would have been a good idea though
this wasn't done.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
By the way, these are all images that I've posted previously
without the vintage postcard effect.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> I'll post some example images at default settings in some follow-up
> posts.
| |
| bjeanneb 2006-07-10, 7:46 pm |
|
"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44B19B9F.6F4EAE8@agabatur.xednaps...
> Spandex Rutabaga wrote:
>
>
> All of the images were created at default settings. Some of the
> later ones had JPEG artifacts in the sky originally that are
> captured by PSP's Find All Edges approach. In those cases lowering
> the opacity of the Sketch layer would have been a good idea though
> this wasn't done.
BRAVO! I like your script a lot. Thanks for doing it and sharing it with
us.
Jeanne
| |
|
| Spandex Rutabaga <SpRu@agabatur.xednaps> wrote in
news:44B18F6B.C78E937C@agabatur.xednaps:
> Over in the Photography newsgroup I asked Nightingail how she
did
> her vintage postcard effect. She replied in some detail but I
wasn't
> always able to follow quite why she did the things she did. As
a
> result, I cooked up a script which runs silently but afterwards
> allows you to tweak the effect by manipulating labeled layers.
I
> like the script but it may not be what Nightingail prefers and
> you may or may not like it. Below I have cut and pasted the
main
> elements of her procedure and I have noted what I did
differently
> in the script and why. Obviously without her input I would
never
> have come up with the script so I am very grateful for the
> explanations she provided.
>
[snipped for brevity]
>
> The script is attached. Unzip it to your Scripts-Restricted
folder.
> It's worked fairly well on images I tried it on. Blue sky and
> man-made objects, preferably lighter in color, with rectilinear
> detail seem to be good elements to have in the picture when
applying
> the script. If used on images with vegetation, the leaves need
to
> be big enough that there is room for their edges (i.e. trees
should
> not be too distant) and the vegetation should fill only part of
the
> image. Water doesn't have to be present in the image. Sometimes
it's
> good to have. If present without some of the features I
mentioned,
> water isn't going to do you any good as far as creating the
> impression of an old postcard is concerned.
>
> It might be good to add a step of creating a yellowed border
around
> the image but in my opinion that's best done separately. You
can
> just drag the Curves adjustment layer onto the border image to
do
> the yellowing.
>
> I'll post some example images at default settings in some
follow-up
> posts.
Liked the image result, and have installed the script for future
use. Looks like a lot of work involved by both you and Gail, and
it is much appreciated.
Regards,
JoeB
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
> The script is attached. Unzip it to your Scripts-Restricted folder.
I forgot to attach the contents of the layer palette after running
the script. This screen capture gives you some idea of what you
can adjust after running the script.
| |
|
| Spandex Rutabaga <SpRu@agabatur.xednaps> wrote in
news:44B1B1FF.A3603F77@agabatur.xednaps:
> Spandex Rutabaga wrote:
>
folder.[color=darkred]
>
> I forgot to attach the contents of the layer palette after
running
> the script. This screen capture gives you some idea of what you
> can adjust after running the script.
I'll try to figure it out when I get time to try the script.
Otherwise, expect a HELP!!!! post! :-)
Regards,
JoeB
| |
| Nightingail 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
<snip>
> They are a bit much for me to get my head around since I'm never
> quite sure what the purpose of each step is. Accordingly I've
> changed things around into a script based as much as possible on
> adjustment layers and layers with adjustable opacity so you can
> just run the script and fine tune without having to do lots of
> undoing, copy merging and what have you.
Excellent! The results with your script are perfect, and the steps you used
are much more logical than those in my description :-) In general, all I can
tell you is that when I do photo fixing, I work quite logically, but when I
do the artsy effects, I work in a different mode (ye olde right brain vs.
left brain thing, I suppose).
I can explain a couple of things more specifically:
--The sketch script I posted is just an all-purpose sketch effect that I
patched together awhile ago from some other similar scripts that are
floating around the web. It isn't specific to the postcard effect, but is
just a way that I often use to get started when manipulating a photo. I use
other scripts as well for the same purpose - i.e. a starting point, but
didn't want to distribute anyone's other than my own.
--Re Step 8 and your comments:
>
> I'm really confused by this for several reasons. First, I have
> no criterion for "goodness" of contrast. In other words I don't
> know what I am trying to achieve and personally I don't think
> there is a lot bad with what I've done already :) Second, I don't
> understand why Curves - the most powerful and flexible way of
> adjusting global contrast - is followed by additional adjustment
> of contrast with H/S/L, which frankly is a clunker for this
> purpose. There are already five things going on so these kinds
> of extra complications I skipped.
>
You were confused because it was very poor writing on my part. I proofread
the dang thing several times, and still didn't catch that one. When I wrote
"do the same with an HSL layer", *the same* didn't mean "adjust for contrast
again." It was supposed to mean "use an adjustment layer again, but this
time for coloration." Even that isn't particularly logical compared to the
steps in your script, but it's hard for me to reverse engineer (would I use
that term here?) something that I originally do in 'intuitive mode.'
I have one question for you: why did you use Levels instead of Curves for
the lighten step? I never use Levels for anything, maybe I should?
I might have more questions after I play more with the script, but I doubt
it, as it looks just right as it is :-)
Gail
Nightingail's Gallery
www.nightingail.com
| |
|
| Cheers from Helsinki :-) This script is too cool. I'll post another
example in the Graphics group where the sketch layer made it look more
painterly.
--
Tanja Säily, http://www.iki.fi/tape/
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Nightingail wrote:
> Excellent! The results with your script are perfect, and the steps you used
> are much more logical than those in my description :-)
I'm not sure I would say that. The steps are designed to achieve
specific effects, which remain adjustable up to the very end. This
is much easier to accomplish when you can use the 20/20 hindsight
of someone else's experimentation. If, without that background,
you had said "design a vintage postcard script or I'll kill you",
you'd be eating a lot of rutabaga with your meals :)
> --The sketch script I posted is just an all-purpose sketch effect that I
> patched together awhile ago from some other similar scripts that are
> floating around the web.
Yes, I figured that was the case. However, it was hard for me to
guess how the opacity of the two layers would impact the look of
the final postcard result. Consequently I tried to substitute a
simpler step giving one simple adjustment. (As an aside, some
years ago I spent time playing with similar scripts and found
that they needed brightness scaling to work well with every
kind of initial image and I didn't want to get involved in any
of that.)
> I have one question for you: why did you use Levels instead of Curves for
> the lighten step? I never use Levels for anything, maybe I should?
There were several reasons:
a) The postcards have a slightly pastel look which is easy to
achieve simply by setting a gamma greater that one. That is
something I simply guessed at the outset would be useful.
Levels has gamma built right in.
b) Alternatives aren't so attractive. Histogram Adjustment and
Gamma Correction aren't available as adjustment layers.
c) Curves could be used instead. However, certain kinds of steps
are much easier to give verbal instructions for in Levels than
in Curves, e.g. overall lightening and darkening to simulate
different amounts of exposure, changing shadow/highlight
balance. or clipping.
d) There is a different Curves layer already for doing the
yellowing. If you are going to be giving instructions to
someone it is easier to say "Go to the Levels adjustment layer
and do X" rather than "Go to the Curves adjustment layer - the
one that is for adjusting contrast and not the one that is
for setting a color cast - and do Y".
| |
| Michelle 2006-07-10, 7:46 pm |
|
"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44B19B9F.6F4EAE8@agabatur.xednaps...
> Spandex Rutabaga wrote:
>
follow-up[color=darkred]
>
> All of the images were created at default settings. Some of the
> later ones had JPEG artifacts in the sky originally that are
> captured by PSP's Find All Edges approach. In those cases
lowering
> the opacity of the Sketch layer would have been a good idea
though
> this wasn't done.
Nice!!!! Spandex, can this script be used in version 9? I'm
one of those who are still using it, shhhhh ;-))
| |
|
|
"Michelle" <Mish234@nowhere.com> wrote in message news:44b268f6_3@cnews...
>
> "Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
> news:44B19B9F.6F4EAE8@agabatur.xednaps...
> follow-up
> lowering
> though
>
>
> Nice!!!! Spandex, can this script be used in version 9? I'm
> one of those who are still using it, shhhhh ;-))
You and Spandex
| |
| Michelle 2006-07-10, 7:46 pm |
|
"Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
news:44b2712d_3@cnews...
>
> "Michelle" <Mish234@nowhere.com> wrote in message
news:44b268f6_3@cnews...
the[color=darkred]
I'm[color=darkred]
>
> You and Spandex
>
Aha <g>. Then I'll take that as a yes. Thanks, Trev! And
Spandex, for the script.
| |
| Michelle 2006-07-10, 7:46 pm |
|
"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44B18F6B.C78E937C@agabatur.xednaps...
[snip good stuff]
Thanks, Spandex and Gail. I posted my try in the graphics forum.
It's a fun script to play around with :-))
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Spandex Rutabaga wrote:
>
> Over in the Photography newsgroup I asked Nightingail how she did
> her vintage postcard effect.
> The script is attached. Unzip it to your Scripts-Restricted folder.
There is one thing I meant to say but forgot. The script will work
best on a photo that is properly exposed or optimized. If you are
not sure whether that is the case run OneStepPhotoFix script
(PSP 8, 9 or X) or Smart Photo Fix (PSP X) and see if the result
is improved before running the vintage postcard script. (In PSP 9
OSPF is a built-in command so you don't need the OSPF script.) You
can't do general image enhancements after running the vintage
postcard script since the color correction in these will try to
remove the color cast needed for the vintage effect.
| |
| Barbara J Bradley 2006-07-10, 7:46 pm |
|
"Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
news:44b2712d_3@cnews...
>
> "Michelle" <Mish234@nowhere.com> wrote in message
> news:44b268f6_3@cnews...
>
> You and Spandex
I have PSP X but still use 9. :)
Barb
| |
| Michelle 2006-07-10, 7:46 pm |
|
"Barbara J Bradley" <BarbBrad1@aol.com> wrote in message
news:44b2be8f_3@cnews...
>
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
> news:44b2712d_3@cnews...
the[color=darkred]
are[color=darkred]
I'm[color=darkred]
>
> I have PSP X but still use 9. :)
> Barb
>
Hmmm, so what does this say about version X? (don't answer that,
I don't want to start anything LOL). I actually used version 6
last week because I only wanted to crop and optimize a .jpg. It
was a nice to see a version of PSP load so fast, ;-)
| |
| Spandex Rutabaga 2006-07-10, 7:46 pm |
| Michelle wrote:
> I actually used version 6
> last week because I only wanted to crop and optimize a .jpg. It
> was a nice to see a version of PSP load so fast, ;-)
Yes, but watch out for version 6 when you use it with photos having
fine detail (around a few pixels) or with text annotations. PSP 6
only does 2x2 1x1 1x1 chroma subsampling so you stand to lose stuff
in JPEGs that you wouldn't lose saving from PSP 9.
| |
| Michelle 2006-07-10, 7:46 pm |
|
"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:44B2D3EE.33EC42E0@agabatur.xednaps...
> Michelle wrote:
>
It[color=darkred]
>
> Yes, but watch out for version 6 when you use it with photos
having
> fine detail (around a few pixels) or with text annotations. PSP
6
> only does 2x2 1x1 1x1 chroma subsampling so you stand to lose
stuff
> in JPEGs that you wouldn't lose saving from PSP 9.
Ooooh, thanks, I didn't know that. It was OK in this case since
I was only sending a quickie image to a friend, nothing of
importance or printworthiness ;-). It's rare that I open version
6 and when I do, it looks so strange and naked.... like it was
missing things.. oh yeah, all of the good stuff they added in
later versions ;-).
| |
| Nightingail 2006-07-13, 7:34 pm |
| Spandex Rutabaga wrote:
<snip snip>
> There were several reasons:
> a) The postcards have a slightly pastel look which is easy to
> achieve simply by setting a gamma greater that one. That is
> something I simply guessed at the outset would be useful.
> Levels has gamma built right in.
> b) Alternatives aren't so attractive. Histogram Adjustment and
> Gamma Correction aren't available as adjustment layers.
> c) Curves could be used instead. However, certain kinds of steps
> are much easier to give verbal instructions for in Levels than
> in Curves, e.g. overall lightening and darkening to simulate
> different amounts of exposure, changing shadow/highlight
> balance. or clipping.
> d) There is a different Curves layer already for doing the
> yellowing. If you are going to be giving instructions to
> someone it is easier to say "Go to the Levels adjustment layer
> and do X" rather than "Go to the Curves adjustment layer - the
> one that is for adjusting contrast and not the one that is
> for setting a color cast - and do Y".
That makes sense. Is it OK with you if I post the script on my site with
credit to you as the author?
The examples that people have been posting look really good :-)
Gail
--
Nightingail's Gallery
www.nightingail.com
| |
| Spandex Rutabaga 2006-07-13, 7:34 pm |
| Nightingail wrote:
> Is it OK with you if I post the script on my site with
> credit to you as the author?
It's OK with me.
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|