mirror of
https://gitflic.ru/project/photopea-v2/photopea-v-2.git
synced 2025-08-17 17:06:21 +00:00
88 lines
4.6 KiB
HTML
88 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title> Photopea 0.8</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://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">
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
ga('create', 'UA-4249565-38', 'photopea.com'); ga('send', 'pageview');
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="page">
|
|
<div id="header">
|
|
<a href="https://blog.photopea.com/" class="title">Photopea Blog</a>
|
|
<!--<p>Web-based image editor.</p>-->
|
|
<a class="curr" href="//blog.photopea.com">Blog</a> |
|
|
<a href="//www.photopea.com/learn">Learn</a> |
|
|
<a 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-124">
|
|
<span class="date">May 27, 2014</span>
|
|
<h1>Photopea 0.8</h1>
|
|
<div class="entry">
|
|
|
|
<p>The eighth release of Photopea is out! It has <strong>16 689</strong> lines of code. Play with it at the <a href="//www.photopea.com">main site</a>.</p>
|
|
<span id="more-124"></span>
|
|
<h2>New features</h2>
|
|
|
|
<ul>
|
|
<li>Layer Fill editing</li>
|
|
<li>Selection from layer's alpha channel (Ctrl + click on layer)</li>
|
|
<li>Blending optimized (15 % faster)</li>
|
|
<li>First two filters in Photopea! Gaussian Blur and Box Blur</li>
|
|
<li>Text data parser</li>
|
|
<li>We started to examine our options with Type Tool</li>
|
|
</ul>
|
|
|
|
<h2>Type Tool</h2>
|
|
|
|
<p>Native programs can access the list of fonts available at the device. They can read the actual files, parse curves, transform them etc. But there is no API for webapps to access current user's fonts or even checking, if some font is available. The "context2D" API of Canvas element has "fillText" method, which allows us to rasterize simple text. But PSD text may be "Faux" Bold / Italic, or have Warp effects on it. So we need to work with curves.</p>
|
|
|
|
<p>Photopea could use its own fonts and don't care about user's fonts. But some users may want to edit their PSDs, where they use some special font. Even basic fonts like Arial or Times new Roman are licenced and Photopea can not use them for free. So we need an option for users to use their own font files. </p>
|
|
|
|
<p>We are facing so many obstacles with Type Tool. It should work correctly, while being simple to use. If you have any ideas or suggestions to help us move Photopea forward, write them in the comments below.</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+"https://blog.photopea.com/photopea-0-8.html", "Share", "width="+w+",height="+h+",left="+Math.floor((window.innerWidth-w)/2)+",top="+Math.floor((window.innerHeight-h)/2));
|
|
}
|
|
</script>
|
|
</div>
|
|
</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> |