Spade-Editor / Spade

Cross-platform raster graphics editor inspired by Paint.NET
GNU General Public License v3.0
41 stars 10 forks source link

Retina Display Support #32

Closed hughrawlinson closed 8 years ago

hughrawlinson commented 10 years ago

I'll see what I can do for this...

HeroesGrave commented 10 years ago

Please make sure your changes are based of the 'dev' branch.

HeroesGrave commented 10 years ago

And just wondering, what does this actually do?

hughrawlinson commented 10 years ago

It just supports very high def monitors like the retina display on macbook pros.

HeroesGrave commented 10 years ago

What is wrong with it at the moment?

hughrawlinson commented 10 years ago

It's rendered at a lower resolution than native and scaled up.

HeroesGrave commented 10 years ago

Ah, okay.

HeroesGrave commented 10 years ago

Unfortunately at the moment development is very, very active, and a change like this could cause some issues when merging.

Make sure that when you open the pull request, you have rebased against the latest changes from 'dev'

HeroesGrave commented 10 years ago

@hughrawlinson: You still working on this?

hughrawlinson commented 10 years ago

Haven't had time to do anything with it recently. I'll try and get to it soon.

On 15 Feb 2014, at 23:36, HeroesGrave notifications@github.com wrote:

@hughrawlinson: You still working on this?

— Reply to this email directly or view it on GitHub.

hughrawlinson commented 8 years ago

Closing this as this ticket is very old and the project seems pretty inactive, so I'm pruning my created issues.

HeroesGrave commented 8 years ago

I'm working on-and-off on a new image editor project (in Rust, not Java), but yeah, Spade is pretty dead.

Java just isn't suited to this sort of thing.

SuperDisk commented 8 years ago

A sad day indeed. My solution was just to keep reapplying for free trials of Photoshop... there is seriously nothing better on OS X. (Pixelmator is expensive, Gimp just won't load, Pinta sucks.)

Somebody really should step up and make something good.

Longor1996 commented 8 years ago

@HeroesGrave I've got a bunch of ideas for a image editor, should I send them to you?

HeroesGrave commented 8 years ago

@Longor1996 Sure. Open a new issue if you want.

Longor1996 commented 8 years ago

@HeroesGrave in the issue tracker of the Spade repository? Or is there a repository for your new project?

hughrawlinson commented 8 years ago

Something like Processing might be suited to building an image editor, and that's built on top of Java. If you do want to switch away from the Java ecosystem, I think Elm (or more generally, web) would work well. Canvas is pretty mature, there's a lot of functionality built in, and you can just extend that as a library and then stick a UI on top of it and you're done. Good luck to you all with any future efforts! :)

SuperDisk commented 8 years ago

The truth is Java is just too slow to do pixel manipulation. Given, in my attempts to port over the Paint.NET effects to Spade I didn't try anything like parallelization but regular Java is no match for unsafe C# blocks.

A suitable avenue might be a JS & web implementation with canvas running on electron or whatever, but that's pretty huge runtime and frankly pretty dorky.

Longor1996 commented 8 years ago

@SuperDisk can you do some benchmarks? I'd really like to know just how much of a performance difference there is between C# and Java when comes to image manipulation.

SuperDisk commented 8 years ago

Sure.

It's practically no contest though, as the PDN algorithms that I ported were originally written in unsafe blocks that actually operated on pointers. I rewrote them in Java to operate on regular old arrays and it's a huge slowdown.

The repo is available on my profile if you want to check it out.