×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Graduation from colour to white

Graduation from colour to white

Graduation from colour to white

(OP)
On a web page I'm trying to show a horizontal band graduating from "#9999CC", which is purple, to white from right to left.  I will start with a 1 px high by 524 px wide canvas and use it as a table cell background.  (a) how do I do it? (b) Should I save the result as a gif or a jpeg?

I find PSP amazingly unhelpful, eg  Add Mask From Image Dialog Box in the Help Index does not tell you how to open the dialog box.  (!!I just copied and pasted these words from the Help screen and look what I got:

"Add Mask From Image Dialog Box

Vixen of Verbiage"

Too right.)

ioannes

RE: Graduation from colour to white

Here's how to do it (in PSP7)

  • Create a new image (File/New...) that's 524x1 with 16 million colours

  • Click on the blocks above the pallette (top-right) to set the foreground to 9999CC and the background to white.

  • Click on the little black arrow in the box under where it says "Styles"

  • A little pop-up appears with four icons on it, pick the second one (vertical stripes)

  • Now click in the middle of the Styles box. A dialogue should appear labelled "Gradient". Pick the topmost "style" button and set the angle to 90. Click OK

  • Select the Flood Fill tool (paint pot with a drop coming out of it). Click somewhere in your image (easier if you zoom in a bit first via View menu)

  • You should then have the image you require.


As to which format to use, try 'em both and see what you like. If it's important to match the exact shade of purple, use a gif, if it isn't, use a jpg. If you really want to be an individual, use a png!

The help file's probably one of the weakest parts of PSP, but stick with it - it's an amazingly powerful program. FWIW you open that dialogue from the menu: Masks/New/From Image...

Don't give up!

-- Chris Hunt
Extra Connections Ltd
http://www.extracon.com

RE: Graduation from colour to white

(OP)
That was very helpful and time saving, thank you. The gif was the best, the jpeg and png showed vertical bands more.

Regards,

ioannes

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close