Bounty proposal: Paint
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... 27
Chris (121) 472 posts |
Hmm. Where did that go? I’ve tried to reconstitute it here. Did I get everything? (I deliberately omitted the PNG feature, not because it’s not very desirable, but just as it seems quite a big addition for a first stage bounty. However, happy to put it back if others disagree.) OverviewRecent changes to the OS’s sprite handling capabilities make it desirable to update Paint. The following bounty would bring add support to all new sprite formats, as well as adding some features and fixing some longstanding bugs. Detail of proposed changesSprite FormatsHandle sprites with alpha mask General EditingSpritefile windows gain input focus on first click Colour handlingMore comprehensive palette editing Selection, zoom and resizeSnap view to selection box Bug fixesCrash on brush selection Forum thread |
Jeffrey Lee (213) 6048 posts |
That looks about right to me. And don’t forget the links! Brush crash: Forum thread There’s also the toolbar request, although I believe we’re aiming to leave that out of the bounty as it’s a bit controversial: Ticket #138 |
Chris (121) 472 posts |
Added :) I think Michael had some tweaks for the Selection/Zoom stuff, which would be easy to add too. Re the toolbar, I think best to leave for now and focus on the compatibility work. I’m still quite keen on some kind of optional toolbox enhancement/attachment, but any possible changes would need to be handled very cautiously, with plenty of consultation :) |
Michael Drake (88) 336 posts |
The artist-friendly rendering of the default 8-bit palette was on there. There was also a section on the brush tool. Also there was one about adding a Wrap option to the Move whole sprite tool. Do ROOL have a backup it could be recovered from? |
Steve Revill (20) 1361 posts |
I can’t answer that question right now – it’s one for Andrew and he’s in the process of coming back to the UK from New Zealand over the next few days.. realistically, it’ll probably be faster to recreate this page. |
Chris (121) 472 posts |
I’ve added Michael’s points. The headline points here are really just placeholders – anyone implementing the features will probably want to trawl this thread anyway to get the detail, or consult as part of the process. |
Sprow (202) 1158 posts |
I think that’s in keeping with the spirit of the OS: in Unix for example, you can pipe the output of one command into the next program, to serialise processing. In RISC OS you drag and drop between applications in the desktop. At present non native bitmap import is drag to ChangeFSI, drag resulting sprite into Paint, drag result to a disc drive to save it. ie. Paint only knows how to edit those bitmap formats that the OS also inherently knows how to display (JPEG and sprites). If you pile a load of PNG code into Paint, that only helps Paint, all the other programs you might use (Draw for example) still can’t open them. That leaves two options – implement many foreign file imports centrally in the OS (in essence I think that’s what the ImageFileRender stuff does in RISC OS Select?), or put the foreign file import along with all the other ones in ChangeFSI. Adding PNG to ChangeFSI shouldn’t be a massive brain ache, since we already have a ZLib module which is the compressor used by PNG I think. This keeps the proposed Paint bounty a bit easier to swallow.
I’m no artist, but I find the existing layout quite easy to understand. There are pools of 4×4 colours, and each pool is the same basic colour but with a different luminance – so if I want a darker version of the same shade of green I just count up (or across) 4 squares. I appreciate not everybody’s mind is wired like mine, thankfully. |
Michael Drake (88) 336 posts |
Yes, I reworked bits and pieces for clarity. I also added a few things and fixed a bit of grammar. I’ll try to redo it here. OverviewRecent changes to the OS’s sprite handling capabilities make it desirable to update Paint. The following bounty would add support for all new sprite formats, as well as adding some features and fixing some long-standing bugs. Detail of proposed changesSprite Formats
General Editing
Colour handling
Selection, zoom and resize
Bug fixes
|
Michael Drake (88) 336 posts |
Here’s the Textile source for the above:
|
Trevor Johnson (329) 1645 posts |
who edits sprites in Paint at 1:1?!BITD, probably mainly primary school kids creating bitmap art! …and also Acorn User competition winners in 1991 (pg.64 “Bob Hooper’s winning entry, The Chariot of the Gods, produced using Paint”)! |
Jeffrey Lee (213) 6048 posts |
Re: displaying compatibility data: I started work on this over the weekend, while fixing up a few bugs to do with editing RISC OS 5 format sprites. I’ve reworked the sprite info dialog so that it will show the following (top-to-bottom, if memory serves):
Anyone have anything else they’d like to see? I’m thinking I might shift the mode display to further down the bottom, as there aren’t likely to be many people who care what the raw mode word looks like, and for numbered modes it’s also a bit redundant now that Paint will (attempt to) display the colour information. And probably move the width & height further to the top since they’re probably more important than all the detailed colour/mask information. Also if we’re going to display compatibility information, I think it’d also make sense to have functionality to make it easy to convert sprites to/from formats which different OS versions can support. I.e. a dialog you can open up where you select which OS version you want a sprite (or selection of sprites) to be made compatible with, and a few simple options to control conversion (e.g. whether custom or default palettes should be used, cutoff value for converting alpha data to a mask, dithering controls, use of 90×45 DPI modes for Arc sprites, etc.) Then when you click ‘OK’ it can probably just run ChangeFSI on each sprite in turn in order to do the actual conversion (to keep Paint relatively lightweight and avoid duplicating lots of code from ChangeFSI). Alternatively we could tackle the problem from the other end and add the same compatibility information display to ChangeFSI – although I’d argue that ChangeFSI isn’t ideal for this kind of thing as it can (AFAIK) only deal with sprite files containing individual sprites, which would make things painful if you’ve got a sprite file full of tool/icon sprites which you want to convert to a different format. |
Chris (121) 472 posts |
Looks great to me. Some quick thoughts: - I agree that the raw mode word won’t be very useful to most users, and the standard mode number would be better. I think it would be best to move this down to the bottom, as you suggest, and make the pixel dimensions higher priority. - Basic conversions would be incredibly helpful. Top of my wishlist would be a way to convert dpi settings (e.g. for designing EX0,EY0 sprites), but that’s beyond the scope of what you’re proposing! - I’ve always thought that the ‘Display full info’ window layout was a bit wasteful of space. If you’re looking into sprite info settings, could you tweak the info displayed in the spritefile window too? It might be possible to format this a bit more neatly/concisely. Ideally, I think the window should list Colours in all cases, rather than Mode numbers, even with old-style Mode sprites. If users want to check the Mode number (if present), they can use your new extended info dialog. Very happy to test out any changes or help designing templates, etc. |
David Feugey (2125) 2709 posts |
. Compression method ? (would be a nice add-on) |
Jeffrey Lee (213) 6048 posts |
Here are two layouts that I’ve come up with for the sprite info display. I think I prefer the tall one over the wide one. Anyone have any opinions?
Yes, it does look a bit wasteful. However I think a lot of the space is necessary. E.g. although it looks like the space around the sprite name is a bit of a waste, it’s almost a perfect fit for the longest name. I think that in order to fix it properly it would need a complete rewrite, which is a bit beyond the scope of the changes I’m making at the moment (trying to focus on bugfixes for 5.22!) It’s good that there’s a “full info” display available, but the problem is that “full info” now means a lot more than it did in the RISC OS 3.5 days. So I think it should really work a lot more like a Windows directory viewer, where you can control which columns are displayed, perhaps even with a header row to allow things to be compacted horizontally a bit better (e.g. so “16M” instead of “16M colours”). The display could also be compacted vertically by using horizontal lines to separate the sprites instead of what appears to be a full blank text line, and/or using one line of detail text instead of two (one line would be pretty much mandatory if column headers were added) |
Andrew Conroy (370) 740 posts |
My vote is also for the tall version rather than the wide version. It just seems easier to find all the information in it. Thanks for your work on this Jeffrey! |
David Feugey (2125) 2709 posts |
The same… |
Chris (121) 472 posts |
Another vote for the taller dialog. Looks great :)
Fair enough! |
Jeffrey Lee (213) 6048 posts |
I’ve now recreated the bounty proposal page. I’ve made a few changes compared to Michael’s post further up the thread:
|
Chris (121) 472 posts |
That looks good to me. Question to ROOL: Can this be added to the official Bounty list now? Might be good to try an attract some interest from a developer. |
Stephen Unwin (1516) 154 posts |
Having tried to use !Paint to do a few things recently, I would have found it useful |
Jeffrey Lee (213) 6048 posts |
Yep, I can recreate that issue here. It looks like it assumes the sprite file window only contains one column of sprites. Should be an easy fix! |
Jeffrey Lee (213) 6048 posts |
Fix now checked in, along with all the other changes/fixes I was working on. Feedback/bug reports welcome! |
Chris (121) 472 posts |
I’ve had a quick play. The sprite info looks great, and it’s also nice to see Mask ECF pattern working as it should in all modes. Great stuff! |
Steve Revill (20) 1361 posts |
I’ve created a new bounty for Paint improvements. Please let me know if the description text needs changing in any way. |
Steve Revill (20) 1361 posts |
Bump! 3,921 views of this thread, 22 voices and 129 posts. Two days after going live with this bounty, £0 of donations. |
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... 27