May 27, 2014

Photopea 0.8

The eighth release of Photopea is out! It has 16 689 lines of code. Play with it at the main site.

New features

  • Layer Fill editing
  • Selection from layer's alpha channel (Ctrl + click on layer)
  • Blending optimized (15 % faster)
  • First two filters in Photopea! Gaussian Blur and Box Blur
  • Text data parser
  • We started to examine our options with Type Tool

Type Tool

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.

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.

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.