English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 11 April 2023, 10:19   #1
Steffest
Registered User
 
Join Date: Jan 2017
Location: Antwerp / Belgium
Posts: 189
New Web-based Amiga Icon Editor: DPaint.js



Hey!
I'm introducing a new project: DPaint.js

DPaint.js is a web-based image editor with a focus on Amiga File Formats.
It can read/write all types of Amiga icons and read/write IFF images.

I mainly created it because I wanted a modern tool to create Amiga icons,
with a focus on color reduction and dithering to quickly transform modern images to old-school icons, and to directly edit files on ADF disks without spinning up an emulator.

It turned into a pretty nice pixel tool, with layers, masks, selections, effects, blend modes, ...

Available at https://www.stef.be/dpaint/
No download, it runs in your browser, free and open source.

There's a small demo video on the Amiga specific features on [ Show youtube player ]

It's currently still in alpha-stage: bugs and missing features will be there.
Bug reports and feature requests are welcome.

Last edited by Steffest; 11 April 2023 at 10:23. Reason: typo
Steffest is offline  
Old 11 April 2023, 11:35   #2
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,941
Very nice UI! Maybe change the cursor when hovering over the paint canvas, drawing with the regular pointer is a bit weird

FYI: Chromium-based browsers support the Javascript Filesystem API which allows direct opening and saving to a file rather than having to use a file import/export solution. Can make things a lot easier.
gimbal is offline  
Old 11 April 2023, 12:36   #3
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 353
Wow, that's great! I really admire all that color reduction and dithering options galore!
no9 is online now  
Old 11 April 2023, 13:07   #4
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 392
Top notch!
pixie is offline  
Old 11 April 2023, 13:14   #5
khph_re
Registered User
 
Join Date: Feb 2008
Location: Northampton/UK
Posts: 528
Looks fantastic, built in palette options are great as well.
khph_re is offline  
Old 11 April 2023, 13:49   #6
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Cool project. Congratulations.
Krashan is offline  
Old 11 April 2023, 14:21   #7
Steffest
Registered User
 
Join Date: Jan 2017
Location: Antwerp / Belgium
Posts: 189
Quote:
Originally Posted by gimbal View Post
Maybe change the cursor when hovering over the paint canvas, drawing with the regular pointer is a bit weird
Good Point! I've added it to the TODO.

Quote:
Originally Posted by gimbal View Post
FYI: Chromium-based browsers support the Javascript Filesystem API which allows direct opening and saving to a file rather than having to use a file import/export solution. Can make things a lot easier.
Yeah, it already uses that, except for the "directly save to the file you opened" part. For some reason that feels like a bridge too far. I kind of like it that you have to specifically overwrite a file when saving, but maybe that's just me being paranoid.

Thanks for the feedback!
Steffest is offline  
Old 11 April 2023, 14:39   #8
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Really awesome project man thanks a lot!
Will definitely give it a go as I'm struggling with 3 different icon editors in Amiga and GIMP, Paint etc on Windows :P
mfilos is offline  
Old 11 April 2023, 15:38   #9
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,941
Quote:
Originally Posted by Steffest View Post
Good Point! I've added it to the TODO.



Yeah, it already uses that, except for the "directly save to the file you opened" part. For some reason that feels like a bridge too far. I kind of like it that you have to specifically overwrite a file when saving, but maybe that's just me being paranoid.
I can understand that. The browser will ask for permission before the first save to a file is allowed too, it does make for a bit of annoying UX. For my own privately used level editor toolset I just immediately save the file again after loading it to get that annoying nag dialog out of the way for the remainder of the session

Doing things in-browser has its many challenges.
gimbal is offline  
Old 11 April 2023, 16:15   #10
PerspexSphinx
Registered User
 
Join Date: Feb 2018
Location: Canada
Posts: 56
Wow…
This is really neat!
But, I have to ask…
…for those of us paranoid of absolutely everything having to have an internet connection… and since it’s written in JavaScript (I guess)…
Couldn’t you make a Desktop version which would just need the requirement that java was installed?
Quibbles aside , this is really Great work!
PerspexSphinx is offline  
Old 11 April 2023, 16:49   #11
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,941
Not that Javascript has anything to do with Java, but I find it quite strange that you are not paranoid about Java given its rather tumultuous history.

There are ways to package webapps as a local application. Electron or any better alternative.
gimbal is offline  
Old 11 April 2023, 16:50   #12
Steffest
Registered User
 
Join Date: Jan 2017
Location: Antwerp / Belgium
Posts: 189
Quote:
Originally Posted by PerspexSphinx View Post
Couldn’t you make a Desktop version?
I get your point. I'm a web-guy myself that likes his tools to be "just there" on whatever device I'm using, but in fact a downloadable/installable version is BY FAR the most requested feature :-)

You could grab the source (https://github.com/steffest/dpaint-js) and run it locally. (it does need a "local web server", though… If you want to dive into that pool, this is e.g a good article to get you started.)

Everything is handled in your browser, there is no server, so that would work nicely offline.

Another way would be that I package it in something like Electron, but that would result in a 50MB exe, just to run a 500kb web app ...
Seems excessive to me?

Who knows, maybe when Dpaint.js reaches a stable point, I might package it into a downloadable executable, but that won't be any time soon.
Steffest is offline  
Old 11 April 2023, 16:52   #13
Pyromania
Moderator
 
Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,384
Looks cool, thanks for the hard work.
Pyromania is offline  
Old 11 April 2023, 17:10   #14
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by PerspexSphinx View Post
…for those of us paranoid of absolutely everything having to have an internet connection… and since it’s written in JavaScript (I guess)…
This is only a matter of adding a caching worker in the code. Here is a nice explanation how to do it: https://www.freecodecamp.org/news/bu...che-the-assets
Then once installed, the app will work offline until one completely removes browser history including application data in persistent cache. Assuming the app does not use any resuorces/assets downloaded from some remote website. IMHO it is much better than Electron for example, in case of which you are forced to run (and keep on disk) a fully duplicated instance of a browser.
Krashan is offline  
Old 11 April 2023, 17:35   #15
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,941
Quote:
Originally Posted by Krashan View Post
This is only a matter of adding a caching worker in the code. Here is a nice explanation how to do it: https://www.freecodecamp.org/news/bu...che-the-assets
Then once installed, the app will work offline until one completely removes browser history including application data in persistent cache. Assuming the app does not use any resuorces/assets downloaded from some remote website. IMHO it is much better than Electron for example, in case of which you are forced to run (and keep on disk) a fully duplicated instance of a browser.
Yeah but that was the point, to not load it from the net but rather run it on the localhost which is far more restrictive. For the non-paranoid this is a complete non-issue. And besides that I'm pretty sure paint.js is a single page application, such manual caching logic will be pretty superfluous. The browser already handles it out of the box.
gimbal is offline  
Old 11 April 2023, 19:00   #16
bni
Registered User
 
Join Date: Feb 2019
Location: Örebro
Age: 47
Posts: 117
Great project. Will it be possible to set x, y coordinates on the exported icon? To control where it is displayed in a drawer by default.
bni is offline  
Old 11 April 2023, 19:17   #17
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 353
Quote:
Originally Posted by Steffest View Post
Another way would be that I package it in something like Electron, but that would result in a 50MB exe, just to run a 500kb web app ...
Seems excessive to me?

I don't mind that excess, don't worry. If it works well then you can triple that. I can't get used to GrafX2. It seems like unfinished. Dpaint.js in its state right now looks far more solid.
no9 is online now  
Old 11 April 2023, 23:49   #18
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by gimbal View Post
Yeah but that was the point, to not load it from the net but rather run it on the localhost which is far more restrictive.
Once it is cached, it runs from localhost. App cache is persistent, so it is just a local application.
Krashan is offline  
Old 12 April 2023, 09:36   #19
gimbal
cheeky scoundrel
 
gimbal's Avatar
 
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,941
Quote:
Originally Posted by Krashan View Post
Once it is cached, it runs from localhost. App cache is persistent, so it is just a local application.
Again, not the point. It doesn't the first time.
gimbal is offline  
Old 12 April 2023, 10:22   #20
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by gimbal View Post
Again, not the point. It doesn't the first time.
Let's assume a "classic" native application. What do you need to do before installation? Yes, you have to download it from the Internet...
Krashan is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decent Icon editor for WB 3.1 Ulysses13 support.Apps 12 04 September 2020 12:46
Icon editor madlax support.Other 11 29 April 2019 22:32
Amiga Icon viewer/editor for windows? alexh support.Apps 0 25 November 2015 13:02
Modland web-based interface BuZz News 8 27 August 2008 18:12
Looking for a good icon editor lopos2000 support.Other 3 26 November 2006 23:35

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:44.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10075 seconds with 16 queries