Create a function that pulls a picture from a url

Assignment Help Management Information Sys
Reference no: EM132198678

1. Create a function that pulls a picture from a URL and creates a thumbnail saved on your local machine.

Since this assignment specifies the picture should be saved as a "thumbnail," the full answer should include a function that decreases the image to a thumbnail size (saveThumbnail2).

However, if the picture pulled from a URL was a thumbnail originally, your function should just save the image without resizing (saveThumbnail1).

Review the program presented in Ch. 13.2 Program 163, "Writing Programs to Generate HTML," of Introduction to Computing and Programming in Python.

2. Given a folder with images in it, create an HTML page named index.html that contains links to each JPEG file in the directory as follows:

Write a function that creates a string of the path to a directory.

Generate a thumbnail (half the size) copy of each image.

Use makeEmptyPicture to create a blank picture in the correct size, then scale down the original picture into the blank picture.

Name the new image "half-" + the original filename (e.g., if the original filename was fred.jpg, save the half-size image as half-fred.jpg). The anchor in the link to each full-size picture should be the half-size image.

Reference no: EM132198678

Questions Cloud

Do businesses have the right to demand your social media : Do businesses, employers, churches, colleges, have the right to demand your social media password?
Explain three methods used to steal your identity : What is identity theft? Explain three methods used to steal your identity. List five different steps you should take to protect your identity.
Major responsibilities of human resources management : The major responsibilities of human resources management (HRM) are attracting, developing, and maintaining a quality workforce.
How does culture affect leadership : How does culture affect leadership? How do you think power affects leadership?
Create a function that pulls a picture from a url : Create a function that pulls a picture from a URL and creates a thumbnail saved on your local machine.
Discuss the merits of the role of the federal government : Discuss the merits of the role of the Federal Government in this context.
How sales of individual items would be entered : As the new manager of a convenience store, you have noticed issues with the manual method of tracking sales using paper sales tickets and spreadsheets.
Create a table listing at least seven data items collected : During your weekly trip to the grocery store, you purchase bread, milk, cold cereal, bananas, and ice cream. The purchase was made using a debit card.
What is the purpose of the auditors opinion and report : ACT450: AUDITING ASSIGNMENT, Colorado State University Global Campus, USA. What is the purpose of the auditors' opinion and report

Reviews

Write a Review

Management Information Sys Questions & Answers

  How can you frim bring in perspective from experts

How can you frim bring in perspective from experts in unfamiliar technologies, markets and strategies?

  Determine and list the qualities this position demands

Determine the minimum services that must be maintained for that company after a disaster.

  What is the leadership paradox

Discusses four types of perceptual distortions: stereotyping, halo effects, selective perception, and projection. Define each of these and provide an example.

  Describe the different organizational structures

Describe the different organizational structures as it relates to project management (i.e., functional, project-based, matrix). Discuss at least two (two) different roles that project managers can play in organizational leadership.

  Research the guidelines for documentation of health records

Research the guidelines for documentation of health records and compile a list of ten (10) key requirements related to the Standards and regulations for The Joint Commission (TJC), Commission on Accreditation of Rehabilitation Facilities (CARF), a..

  Designers can develop the ability to know

In Security Engineering, it's quite common for designers to secure the wrong things. How do you think that system designers can develop the ability to know what the right thing is?

  How do i set-up the problem

How do I set-up the problem and What formula, if any, should be used in this problem?

  Describe you have an anti-virus software running on machine

Describe whether you have an anti-virus software running on your machine and from which company.

  Describe the it framework would be used

Compare and contrast the Balanced Scorecard to one of the IT frameworks below (COBIT, ITIL, TOGAF, CMMI-Dev).

  How do you perceive the use of health information technology

Review at least one peer reviewed, profession journal article or detailed news article discussing government mandates for health care.

  Write a brief synthesis and summary of the two articles

Discussion 2 Research at least two articles on the topic of the strategic importance of cloud computing in business organizations.

  Describe the specific security concerns or risks

Describe the specific security concerns or risks that your chosen operating system is exposed to and how you plan to mitigate the risk that each one presents.Focus on the following areas as security targets:Patching and installed software,Users.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd