mirror of
https://gitflic.ru/project/photopea-v2/photopea-v-2.git
synced 2025-08-18 01:16:00 +00:00
114 lines
6.0 KiB
HTML
114 lines
6.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title> Remove Background From Photo</title>
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0" />
|
|
<!--<link rel="stylesheet" href="https://www.photopea.com/tuts/wp-content/themes/simplex/style.css" type="text/css" media="screen" />-->
|
|
<link rel="stylesheet" href="https://blog.photopea.com/wp-content/themes/simplex/style.css" type="text/css" media="screen" />
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" rel="stylesheet">
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-4249565-46"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date()); gtag('config', 'UA-4249565-46');
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="page">
|
|
<div id="header">
|
|
<a href="https://www.photopea.com/tuts/" class="title">Photopea Tutorials</a>
|
|
<!--<p>Web-based image editor.</p>-->
|
|
<a href="//blog.photopea.com">Blog</a> |
|
|
<a href="//www.photopea.com/learn">Learn</a> |
|
|
<a class="curr" href="//www.photopea.com/tuts">Tutorials</a> |
|
|
<a href="//www.photopea.com/templates">Templates</a> |
|
|
<a href="//www.photopea.com/api">API</a> |
|
|
<a href="//www.facebook.com/photopea"><img src="//photopea.com/img/facebook.svg" /></a> |
|
|
<a href="//www.twitter.com/photopeacom"><img src="//photopea.com/img/twitter.svg" /></a>
|
|
</div> <div id="main">
|
|
<div id="content">
|
|
|
|
<div class="post" id="post-26">
|
|
<span class="date">May 30, 2018</span>
|
|
<h1>Remove Background From Photo</h1>
|
|
<div class="entry">
|
|
|
|
<p>Cut out an object from a photo, so you can place it elsewhere, or give it another background.</p>
|
|
<span id="more-26"></span>
|
|
|
|
<p>Go to <a href="//www.Photopea.com" target="_blank">Photopea.com</a> to start a free online photo editor. If you see a Welcome Screen, you can close it by pressing the Cross in the top right corner.</p>
|
|
|
|
<p>Open a photo from your computer: click File - Open (in the top left corner), then find and select the file in your device (or use <a href="/learn/opening-saving#opening">drag and drop</a>).</p>
|
|
|
|
<p>We have to do two steps: <b>Select Background</b> (the hard part) and <b>Delete selected area</b>.</p>
|
|
|
|
<h2>Select Background</h2>
|
|
|
|
<p>Photopea lets you select some part of the image. This selected area is illustrated by a countour around it.</p>
|
|
|
|
<img src="//imgur.com/BxajzGd.png" style="width:70%" />
|
|
|
|
<p>We will demonstrate our work on <a href="//i.imgur.com/bZMAi9K.jpg">this image of a tree</a>, where we want to remove the sky. Properly selected sky will look like this:</p>
|
|
|
|
<img src="//i.imgur.com/kBrva6F.png" style="width:60%" />
|
|
|
|
<p>We will select the bacgkround with a Magic Wand tool. It can select an area with similar colors (blue in our case). First, select Magic Wand in the toolbar on the left (two tools are hidden under the same button).</p>
|
|
|
|
<img src="//i.imgur.com/bls9wd8.png" style="width:70%" />
|
|
|
|
<p>Now, click on the sky area to select it. Each click removes the old selection, and creates a new one. <b>Hold Shift</b> to combine the new selection with an old selection. Try changing the Tolerance and Contiguous in the top menu. You should end up with a selected sky, as you see above.</p>
|
|
|
|
<p>Selecting may be hard, it can take 10 seconds, or even several hours. The more time you spend, the more prefect it becomes. Read more about selections at <a href="/learn/selections">/learn/selections</a> and its sub-articles.</p>
|
|
|
|
<h2>Delete selected area</h2>
|
|
|
|
<p>To delete a selected area, press Edit - Clear in the top menu, or Delete on your keyboard. The white and grey squares mean, that the area is empty.</p>
|
|
|
|
<img src="//i.imgur.com/cjofsuH.png" style="width:60%" />
|
|
|
|
<p>Now, save the image as PNG (File - Export As - PNG, hit "Save"). PNG is necessary, because JPG does not support transparent pixels.</p>
|
|
|
|
<h2>Add a new background</h2>
|
|
|
|
<p>To add a new background press <b>File - Open & Place</b>. The image, that you choose, will be placed as a new layer. Now, you can move the background image and resize it (by dragging its corners) and confirm the size by hitting Enter. If the new layer covers the original image, press Layer (in the top Menu) - Arrange - <b>Send to Back</b> to move your layer behind all other layers.</p>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div><!--content-->
|
|
|
|
<div style="width:110px; margin: 0px auto;">
|
|
<a href="#" title="Share on Facebook" onclick="smallWindow('http://www.facebook.com/share.php?u=');"><img src="//www.photopea.com/promo/fb.png" /></a>
|
|
<a href="#" title="Share on Google Plus" onclick="smallWindow('https://plus.google.com/share?url=');"><img src="//www.photopea.com/promo/gp.png" /></a>
|
|
<a href="#" title="Share on Twitter" onclick="smallWindow('http://twitter.com/share?url=');"><img src="//www.photopea.com/promo/tw.png" /></a>
|
|
<script type="text/javascript">
|
|
function smallWindow(url)
|
|
{
|
|
var w = 640, h = 300;
|
|
window.open(url+"<? echo get_permalink($post); ?>", "Share", "width="+w+",height="+h+",left="+Math.floor((window.innerWidth-w)/2)+",top="+Math.floor((window.innerHeight-h)/2));
|
|
}
|
|
</script>
|
|
</div>
|
|
</div>
|
|
<div style="max-width:770px; margin: 0px auto;">
|
|
<h2 style="margin-top: 3em">Comments</h2>
|
|
<p>Do you need help? Ask us at <a href="//www.reddit.com/r/photopea/" target="_blank">our Reddit</a>!</p>
|
|
</div>
|
|
<div id="disqus_thread"></div>
|
|
<script type="text/javascript">
|
|
var disqus_shortname = 'photopeablog'; // required: replace example with your forum shortname
|
|
(function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();
|
|
</script>
|
|
<!--main-->
|
|
<?//php get_sidebar(); ?>
|
|
|
|
<div id="footer">© 2013-2021 support@photopea.com</div>
|
|
</div> <!--page-->
|
|
</body>
|
|
</html> |