Finishing up with Mr. Quimby - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Finishing up with Mr. Quimby

Description:

Two methods to add 'borders' to any picture provided. A method to rotate 180 degrees ... out how to mirror over the books in bands (including writing a nice helper ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 6
Provided by: BenSc
Category:

less

Transcript and Presenter's Notes

Title: Finishing up with Mr. Quimby


1
Session 12
  • Finishing up with Mr. Quimby
  • Introducing Scaling

2
Announcements
  • I handed back PA01 and Lab4
  • Please read the directions. In both cases,
    points were lost due to not reading.
  • Ask for help if you dont get something
  • PA02 was posted on Friday Due this Friday.
  • Two methods to add borders to any picture
    provided
  • A method to rotate 180 degrees
  • A method to crop out one section given defined
    coordinates

3
Finishing with Mr. Quimby
  • Last time we
  • Figured out how to mirror over the books in bands
    (including writing a nice helper method to
    eliminate duplicate code. Good job!)
  • Figured out how to cut out the cartoons caption?
  • Whats left?
  • How do we put the caption back??
  • See the website for the finished version of what
    we did.

4
What can I do when things arent the size I want?
  • Scaling Down My camera takes photos at 2304 x
    1708 pixels. That is WAY too big for posting to
    my website (where 300 x 200 would still be a good
    sized picture).

5
Scaling Down a Picture
  • passionFlower.jpg is 640pixels wide and 480
    pixels high
  • If we copy every other pixel we will have a new
    picture with width (640 / 2 320) and height
    (480 / 2 240)
Write a Comment
User Comments (0)
About PowerShow.com