ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Make a png File (A Photo With a Transparent Background)

Updated on August 13, 2012

Examples of A PNG File with a Transparent Background

This photo of a Costa Rican traditional dancer was taken at night with a flash.  Many distracting images surrounded her.  This took a while to create.
This photo of a Costa Rican traditional dancer was taken at night with a flash. Many distracting images surrounded her. This took a while to create. | Source

Images with transparent backgrounds are very useful for creating modified images that can be used for publishing, making web sites and more. With a Macbook, you can make a screenshot of something and you create a png image fie automatically. But this file does not have transparency. You need photo editing programs to achieve that effect.

One png image that I have created is shown to the right, with its original shown below. This image was taken at night among a troupe of other dancers, spectators and various distractions. Having an image without all of these distractions is much more striking and attractive.

The program that I normally use for creating png files with transparent backgrounds is Adobe Photoshop, but there are other programs that can do the same thing, notably GIMP, which is a free, open source image editor. GIMP is available for both Mac iOS and PC operating systems.

Via text instructions and video below, I will show you how to edit images to make clear backgrounds with both of these photo editors.

Original jpeg photo from which the png file above was made.
Original jpeg photo from which the png file above was made. | Source

Making a Transparent Background png file with Adobe Photoshop

There are two different ways of making a transparent background in Photoshop (I am using version CS 4). If you have a simple background which is different in color than the object you want to isolate, you can use the tool known as "magic eraser." It is located below the history paintbrush on the left hand toolbar. When you click on an area with this tool, all of the portion of a similar color is removed.

If you have an object that blends with the background, be careful when using this tool, as it will remove part of the object that you want. If it does remove it, you can click on Edit>Step Backward to recover from the deletion, however. Then, using paintbrush, select an area that has a color that is different from this area and paint it. After it is painted, you can delete it again without having it delete the desired object.

The Magic Wand Tool. Another tool used in Photoshop is the "magic wand" tool. The magic wand tool will stick to a nearby object as you surround it with a border. When the object is completely surrounded, you can cut out the object and paste it onto a transparent background (shown by a checkered pattern on the editing screen). Again, if the object isn't clearly delineated from the background, this won't work well either. However, if that is the case, you can paint in blended-in areas to make them contrast from the background and then use that as part of object temporarily. Then you can delete it with magic eraser, or paint again and delete with the magic eraser as needed.

Corrections. Sometimes marginal areas are deleted no matter what you do. You can zoom in on the object and paint in these areas to match, working in great detail pixel by pixel, as needed. The healing tool can help blend in the areas to make the object look natural.

Using GIMP to Place an Image on Another Background

Using GIMP to Make A png File with An Erased Background

Moving an image with GIMP is done in two different ways as well. In the first method, you make the background first and then move an object on top of the background. You have to scale its size to fit the background, which also activates the eraser that gives you the png background. (Be sure to click the shrink merged box on the bottom left hand tool section to shrink an object proportionally). After it fits, then click on the eraser, using a soft-edge eraser, to erase the area immediately around the object and then broaden the erasure to eliminate background further out.

You can also cut out the object using the cut-out and paste method shown in the video below. This method may save time in some cases, as you don't have to zoom in to erase around the edges.

Using The Cut-Out And Paste Method

The End
The End

Comments

    0 of 8192 characters used
    Post Comment

    • Randy M. profile imageAUTHOR

      Randy McLaughlin 

      5 years ago from Liberia, Costa Rica

      DF: It takes a little experience to get used to GIMP, but since it is free, it's worth a try.

    • The Dirt Farmer profile image

      Jill Spencer 

      5 years ago from United States

      Thanks, Randy M. Very useful! I downloaded GIMP but have not used it. Your hub reminds me to give it a try.

    • Randy M. profile imageAUTHOR

      Randy McLaughlin 

      5 years ago from Liberia, Costa Rica

      TravelAbout - Thanks for stopping by and reading. Let me know if you have any questions in the process.

    • TravelAbout profile image

      Katheryn 

      5 years ago from United States

      Thanks Randy. I have been wanting to learn some photoshopping and I will be using this as a reference. Very useful information and voted up!

    • Randy M. profile imageAUTHOR

      Randy McLaughlin 

      5 years ago from Liberia, Costa Rica

      Thanks, Rui!

    • Rui Carreira profile image

      Rui Carreira 

      5 years ago from Torres Novas

      This hub will be very useful. I learnt how to do this online a while ago.

      Voted up!

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)