Lurker News

Comments (72) 25 threads

tobiaswk3 replies#
Cool!

Can't help but to mention photopea; https://www.photopea.com/ Pretty impressive stuff made by one guy (it was initially). Basically a viable alternative to photoshop in a browser.

nickjj1 reply#
I started to use Photopea for making thumbnails for my videos and blog posts a few months ago but I wish it were more stable.

Sometimes it has network connectivity issues that prevents the app from working -- even if you download the "offline" app.
Like 2 days ago I couldn't add text to an image because the font list couldn't be loaded over the network due to the site having connectivity issues (and it doesn't work when offline). I had to resort to using gimp otherwise it would have delayed a video from being published.
Of all of the online or offline non-Flash image editors that try to replace Photoshop this one is my favorite. I hope it continues to get more developed. It lacks a lot of things but it's good enough for whipping together basic multi-layer layouts. Little things like being able to auto-center things vertically and horizontally by just dragging things around saves so much time. Also supporting Photoshop style layers for doing outlines and shadows speed things up.

IvanK_net2 replies#
Hi, I am the author of Photopea :)

Photopea is used by 120,000 people every. We rarely get reports about the site not loading correctly. We received one in June from a user from Malaysia. After some communication, we noticed that it worked well when he used his mobile data, and did not work only on WiFi, so probably the problem was with ISP.
If it happens again, just let us know!

skykooler1 reply#
Hi! Would it be possible to add something like GIMP's "Color to Alpha" filter to Photopea?

Continue this thread — 1 reply

nickjj3 replies#
This was on a wired connection in the US (75mb down / 25mb up). I'm not sure what was up but every other site worked and I had no packet loss anywhere else. I had a 7ms ping time to my gateway and <= 20ms to a bunch of sites I tested.

It's just photopea.com is down for me completely and that prevents the app from allowing you to use text since that depends on network loaded fonts.
It's actually still happening now every once in a while over 24 hours later. Like right now it took 2 minutes to access the program but it eventually loaded (this was due to the site having 100% packet loss at the time).
A few "is it down for me?" sites are reporting it down as well but it seems to be pretty spotty (sometimes they report up, sometimes down). I'm from the east US if it helps.
Is there any way you can have the program use local fonts when no network is detected? With the current behavior when there's no network you click the text tool and then it sits forever while the font selection window fails to load.

Continue this thread — 3 replies

thrax#
Photopea is AWESOME!!!
tomashubelbauer1 reply#
Well done, the app is really smooth even on mobile and I can definitely see it being used for the most common types of image processing. I like the premise of using WebGL and CSS filters. Are you going to open source it? I'd love to see how you implemented that.

Edit: Never mind, I just realized this showcases Doka, a commercial component for image processing on the client so that you don't need to do the image processing in the server. Neat product as well.

rikschennink#
Thanks! And indeed, it's a full feature instance of Doka, I figured it might be useful for some people to do quick image editing and offering it for free feels good.

It isn't open source, I do use income from Doka to finance my other open source products (like FilePond).

daliusd2 replies#
As I'm doing something very similar (but different) for my new product so I definitely checked it out.

What I like:
* Image orientation (from EXIF) support
* I like how intuitive it is
* I will absolutely use some minor ideas in my product that I have not considered using.
What I dislike:
* I have uploaded 10000 x 6672 image (this one https://unsplash.com/photos/2S4FDh3AtGw) and I see that you scale it down. My experience shows that both Firefox and Chrome handles such large image without problems.
* Delay between action and reaction is too high for my taste. It feels unnecessary sluggish. UPDATE: tested with Chromium and it feels response. Only Firefox is sluggish.
* Flip does not center around zoom
Anyway, awesome work as I know some pain points you might have experienced :)

rikschennink1 reply#
Hi, Thanks for feedback!

In my experience loading huge images like those and animating them is way too slow so the preview is limited to 1500x1500 pixels (I'm testing on a MacBook from 2014). I have some ideas to work around that. With the recent switch from CSS transforms to WebGL (for the image preview) I've added some additional options.
Good luck with your project!

zawerf1 reply#
I don't work with webgl much but I remember there being a max texture size of around 2048 or 4096 on many devices. Wouldn't you end up needing to tile the texture and stuff?
rikschennink#
There is a limit on canvas size in most browsers, unfortunately it's rather low on iOS, more than 12 megapixels (4000x3000) will result in empty canvas elements.

Indeed progressively loading high res textures or tiling is a solution to this.

eternalny11 reply#
> UPDATE: tested with Chromium and it feels response. Only Firefox is sluggish.

If you're feeling up to it you might want to file an issue with Mozilla on this.

daliusd#
I usually do when I am sure that it is not me who did something wrong. The last time I did naive JSON.parse(JSON.stringify(x)) and Chromium was way faster than Firefox if there are a lot of data in x. I don't feel that this is Firefox bug even if it is slower. In this situation I don't know what might be causing slower behavior on Firefox so I don't feel like a could write good bug report :)
bitL2 replies#
Cool! Congrats! Welcome to the club! ;-)

BTW, does anyone know if there is a transpiler I could use to write an image processing/geometry algorithm/animation algorithm once and then target whatever output language/platform combo is desired? I really dislike JavaScript, I am way more productive in e.g. C++, but I need to rewrite my algorithms from C++ into Java/Swift/JavaScript/Python/CUDA/Kotlin, depending on a platform I address, and frankly I am getting tired of that. I just want to have a vanilla algorithmic code that is pretty transferable across platforms (desktop/web/iOS/Android) automatically transpiled to another language as I need (with platform-specific stuff done in a custom fashion of course); I don't care about performance optimizations for that (no time for that per platform anyway). WebAssembly is supposed to help but it's still not there yet.
Thanks for any advice!

monssoen#
Have a look at Haxe. It transpiles to C++, Java, Javascript and Python.

https://haxe.org

Load more comments