News for hackers. Stuff that matters.
Re:Picozu - the HTML5 Adobe Photoshop clone by jacobolus on Tuesday February 28, 2012 @02:40PM (#3644591)
All these tools are cute, but I haven’t yet seen one which was as anywhere close to as capable as versions of Photoshop from, say, 1998. They always copy the gimmicky toys, while ignoring the features that professionals actually use to get their work done: curves (or at least levels, come on), calculations/apply image, a full set of blend modes (esp. the ones separating color/contrast), adjustment layers, masks, color management, CMYK/CIELAB modes, sophisticated selection tools, layer styles, scripting, recordable macros, unlimited undo w/ a visible history stack, &c. &c., not to mention all the thoughtful little touches of mouse behavior, keyboard shortcuts, etc. which let a pro navigate around Photoshop with blazing speed.

It’s like producing a plastic tricycle, and announcing: “A new automobile clone! It has cup holders, and I even painted flames on the side!”

Re:Picozu - the HTML5 Adobe Photoshop clone by tintin on Tuesday February 28, 2012 @09:09AM (#3643173)
Used the brush tool. Sorry this is not the best online tool.

This is a Photoshop clone: http://pixlr.com/editor/ Even opens PSD's.

Re:Picozu - the HTML5 Adobe Photoshop clone by tomku on Tuesday February 28, 2012 @09:53AM (#3643331)
For anyone curious about exactly why the brush tool comes up short:

http://i.imgur.com/E0LdU.png

It relies on a stamp-like drawing method of copying the brush at time intervals, and simply can't do it fast enough for even moderately quick drawing.

Re:Picozu - the HTML5 Adobe Photoshop clone by figglesonrails on Tuesday February 28, 2012 @12:44PM (#3644028)
Odd. I thought the general algorithm was to record a number points where the user traced, interpolate between them (so you don't end up with giant discontinuities), and THEN rubber stamp on the full list. That drawing looks like my attempt a pencil tool when I was using BASIC back in the day.

Of course, if the program can't keep up with that, then the drawing would appear to lag behind the pen.

Re:Picozu - the HTML5 Adobe Photoshop clone by tomku on Tuesday February 28, 2012 @01:20PM (#3644184)
If I had to guess, I'd say that the pencil uses solid brushes and the "right" algorithm because it performs acceptably in that case, while the brush tool stamps instead because it can't keep up using that algorithm with an antialiased brush.
Re:Picozu - the HTML5 Adobe Photoshop clone by cmf028 on Tuesday February 28, 2012 @10:19AM (#3643416)
Interestingly, the pencil tool doesn't have this limitation. Even when turning the size up.
Re:Picozu - the HTML5 Adobe Photoshop clone by jrabone on Tuesday February 28, 2012 @10:22AM (#3643432)
I can see what they're trying to do, but they're both unusably horrible on this machine (dual quad Xeon Dell T5500 running Fedora, Chrome 17). The pen / path tool just didn't work for me in Picozu, and the smudge tool in pixlr stutters and locks up the whole interface (presumably while it pushes pixels around).

I can't say I'm convinced by web paint programs. Maybe OK for a trivial "fix-my-redeye" case on something you've already uploaded. I also wish these things would stop claiming to be Photoshop clones, when they're really just MS Paint++. I used to use PS professionally (ie. I've earned money with it to easily justify the initial outlay and upgrades from 6 thru CS5) and there really is nothing to compare it with.

Re:Picozu - the HTML5 Adobe Photoshop clone by sho_hn on Tuesday February 28, 2012 @09:33AM (#3643260)
Pixlr is Flash, though, not HTML.
Re:Picozu - the HTML5 Adobe Photoshop clone by libraryatnight on Tuesday February 28, 2012 @09:40AM (#3643283)
I love pixlr, it works wonderfully. I used to run contests for a team at work and I would make odd and funny custom wallpapers for the winner. My department doesn't have access to any fancy image editing software, so I would use pixlr.

That said, this is impressive, and different given it uses HTML5

Re:Picozu - the HTML5 Adobe Photoshop clone by moonchrome on Tuesday February 28, 2012 @01:37PM (#3644256)
You can use this : http://pinta-project.com/ on Windows/Linux/OSX (if you don't like GIMP) and there's also Paint.NET for Windows.
Re:Picozu - the HTML5 Adobe Photoshop clone by RuggeroAltair on Tuesday February 28, 2012 @12:19PM (#3643913)
I'm sure your department can use Gimp ;-)
Re:Picozu - the HTML5 Adobe Photoshop clone by angersock on Tuesday February 28, 2012 @12:34PM (#3643984)
nobody can use gimp

what are you even saying

Re:Picozu - the HTML5 Adobe Photoshop clone by Intermediate on Tuesday February 28, 2012 @08:58AM (#3643139)
It doesnt support PSD neither other advanced image file formats, so it's more clone of MS Paint than Adobe Photoshop.
Re:Picozu - the HTML5 Adobe Photoshop clone by moonchrome on Tuesday February 28, 2012 @09:34AM (#3643262)
Exactly my impression - a MS Paint clone with layers and filters. This lacks the most rudimentary stuff like select tools, calling it a Photoshop clone is just dishonest.
Re:Picozu - the HTML5 Adobe Photoshop clone by rplnt on Tuesday February 28, 2012 @09:11AM (#3643181)
Well, that's a bit harsh. It seems much more capable than MS Paint when it comes to functions. But yeah, comparing it Adobe Photoshop isn't right either.
Re:Picozu - the HTML5 Adobe Photoshop clone by mistercow on Tuesday February 28, 2012 @10:02AM (#3643359)
It's not a bad start, but a clone of Photoshop it ain't.
Re:Picozu - the HTML5 Adobe Photoshop clone by garethsprice on Tuesday February 28, 2012 @03:33PM (#3644845)
Used the color selector. Drew a circle, so far so good. Duplicated the layer, tried to slide the circle across using Shift to fix the axis but seemed to select all UI elements in the browser (like I was selecting text). Duplicated shape was misaligned so hit Undo and ended up jumping back 2-3 operations - my second duplicated layer was gone and the first layer, while still existing, did not appear to contain any information.

Tried to draw an ellipse but the circle tool seems to use a fixed radius. Erased shape using eraser, difficult to see brush size as it's a crosshair that does not indicate the size. Had the idea of drawing a circle on a new layer and scaling the layer horizontally, but it does not appear to be possible to transform a layer. Dragged layer to Delete but it did not delete. Deleting layer from Layer menu did work though.

Drew another shape and tried fill tool to fill in with color, but it did not detect the polygon boundaries and filled the full screen. Looked for a "Filled polygon" option but the Shapes box seems to only allow selection of one option ("Polygon").

Interesting proof of concept, don't think I'll be able to use it for real work any time soon though.

(Chrome, OS/X)

Re:Picozu - the HTML5 Adobe Photoshop clone by city41 on Tuesday February 28, 2012 @10:54AM (#3643552)
It's a nice editor. I'm impressed. I wrote a similar HTML5 editor[0], so I can definitely relate to the effort it took.

Undo/redo doesn't seem to work correctly. At most I can only get it to completely undo to an empty image, at worst I can't seem to get it to undo at all. This is with Chrome on Snow Leopard.

[0]http://www.lovetopixel.com

Re:Picozu - the HTML5 Adobe Photoshop clone by franciscoapinto on Tuesday February 28, 2012 @11:04AM (#3643593)
Same issue, on the latest firefox nightly on Debian testing.
Re:Picozu - the HTML5 Adobe Photoshop clone by kreek on Tuesday February 28, 2012 @11:34AM (#3643730)
This is pretty cool, with this app (and a lot of other HTML5 apps) I often have an issue where it acts as if I'm trying to select text as if I was going to copy and paste. The result is the entire app gets the 'text-selected' blue overlay. Anyone know of way to prevent this? I'm not sure that e.preventDefaut() stops it.
Re:Picozu - the HTML5 Adobe Photoshop clone by jarek-foksa on Tuesday February 28, 2012 @03:31PM (#3644837)
When building desktop-like apps I'm using following snippet to disable text selection everywhere:

  body * {
    -webkit-user-select: none;
    -moz-user-select:    none;
    -ms-user-select:     none;
    user-select:         none;
  }
Then I whitelist any elements that should be selectable:

  textarea,
  input,
  [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select:    text;
    -ms-user-select:     text;
    user-select:         text;
  }
Re:Picozu - the HTML5 Adobe Photoshop clone by mofle on Tuesday February 28, 2012 @12:29PM (#3643969)
You can use CSS user-select:none; on the elements you want to prevent selection on.
Re:Picozu - the HTML5 Adobe Photoshop clone by dmvaldman on Tuesday February 28, 2012 @10:37AM (#3643493)
Holy jesus crap! I am incredibly impressed. I'm also very interested in seeing any blog posts etc on how this app was developed. Usually large apps like these have creative ways of organizing code and building architecture.

I'm curious, what are the functionalities of photoshop that are giving you the most trouble reproducing in HTML5? Obviously HTML5 is not powerful enough, but it can do the basics. For instance, your spray tool is a clever hack, but it doesn't give nearly the same power as photoshop. I'd also consider using things like gaussian distributed sprays, which shouldn't be difficult.

Great job and I think many of us here would be interested to know the details.

Re:Picozu - the HTML5 Adobe Photoshop clone by newobj on Tuesday February 28, 2012 @12:37PM (#3643998)
I think the first thing a serious Photoshopper will do is start jamming on the keyboard shortcuts... none of which seemed to work for me. So, keep at it :)
Re:Picozu - the HTML5 Adobe Photoshop clone by modeless on Tuesday February 28, 2012 @12:28PM (#3643963)
The first one of these to use WebGL is going to win.
Re:Picozu - the HTML5 Adobe Photoshop clone by windsurfer on Tuesday February 28, 2012 @12:43PM (#3644019)
Why? WebGL won't give you too much of a benefit when you're dealing with 2D textures.
Re:Picozu - the HTML5 Adobe Photoshop clone by modeless on Tuesday February 28, 2012 @12:52PM (#3644078)
A common misconception, but completely false. OpenGL, and by extension WebGL, is not just for 3D; it's perfectly suited to 2D image manipulation. With programmable shaders you can perform practically any image processing operation (interactive brushes, resizing, compositing, filters; really any of the tools in the Photoshop palette) at hundreds of times the speed of JavaScript.
Re:Picozu - the HTML5 Adobe Photoshop clone by strags on Tuesday February 28, 2012 @12:47PM (#3644052)
Without being 100% sure (not having played with WebGL too much), I'd guess it would enable you to perform a large amount of expensive image processing on the GPU, using shaders. For certain things (eg. blur), this would be a huge performance boost.
Re:Picozu - the HTML5 Adobe Photoshop clone by vibrunazo on Tuesday February 28, 2012 @02:04PM (#3644380)
Tried it in both Firefox for Android and the native browser it's completely unstable and unusable on both.
Re:Picozu - the HTML5 Adobe Photoshop clone by rdg on Tuesday February 28, 2012 @10:55AM (#3643557)
Seems more like a Gimp clone. Not even close to Photoshop.
Re:Picozu - the HTML5 Adobe Photoshop clone by RuggeroAltair on Tuesday February 28, 2012 @12:13PM (#3643886)
Nah. Gimp maybe isn't exactly as good as Photoshop (even though some tools were in Gimp much earlier than in Photoshop) but there is a huge difference between this website and Gimp. I appreciate the effort, but the functionalities of this website are way far from being anywhere near Gimp.
Re:Picozu - the HTML5 Adobe Photoshop clone by chc on Tuesday February 28, 2012 @01:19PM (#3644181)
Why can't we just say "a generic image editor"? It's not really a faithful clone of anything in particular.
Re:Picozu - the HTML5 Adobe Photoshop clone by hn_reader on Tuesday February 28, 2012 @03:20PM (#3644794)
I love this idea. A few more features (like curves/masks) and a faster UI and I can see using this a lot.
Re:Picozu - the HTML5 Adobe Photoshop clone by deepkut on Tuesday February 28, 2012 @09:49AM (#3643321)
Now if only I could upload a font... This is cool, keep up the good work :)