Closed GoogleCodeExporter closed 8 years ago
This was supported in earlier versions of GrafX2 (at least the most basic
palette loading). It looks like it was broken when adding support for Paint
Shop Pro palettes which are very similar but not identical.
The paint shop pro format is currently the default. Feel free to make GIMP
format be the default one again, but make sure we can still load JASC format as
well (they are the same besides the header, anyway).
Original comment by pulkoma...@gmail.com
on 3 Dec 2012 at 6:01
Actually, they're -not- the same besides the header. JASC colors are not named,
nor are the component values padded (this means you can't use the same scanf
format to read them.)
An early draft of a GPL support patch is attached.
It currently only has test and load support, at a basic level (nothing related
to building a shade table yet). Additionally, some old GPL palettes do not load
correctly -- I haven't had time to figure that out yet.
Original comment by 00a...@gmail.com
on 12 Dec 2012 at 9:56
Attachments:
Bug fixed -- it occurred for any color whose name contained spaces.
updated patch attached.
Original comment by 00a...@gmail.com
on 12 Dec 2012 at 10:30
Attachments:
Version with working save support is attached.
This now has the basic level of functionality (load and save colors, ignoring
names).
Implementing shade table <-> name translation will take significantly more time.
Original comment by 00a...@gmail.com
on 12 Dec 2012 at 11:03
Attachments:
I think we have to move the loading/saving of palettes into the palette screen.
It requires a difficult reorganization of the screen, but it's clearer, allows
saving all those different palette formats that we can load, and it frees up
several "slots" in the format dropdown for images.
Original comment by yrizoud
on 12 Dec 2012 at 1:45
Until now we only had one 'PAL' format that would perform auto detection of
JASC and PAL formats.
I added some Microsoft one recently, and now we have this one. So, maybe it
makes sense to move this out of load/save. However, maybe we should put them in
"palette settings" rather than the palette editor ? There's more space there.
Original comment by pulkoma...@gmail.com
on 12 Dec 2012 at 6:07
Personally I certainly agree with putting them in palette settings rather than
palette editor, unless we intend to support loading sub-palettes (select a
range in palette editor, entries are loaded only into that range). It matches
at least in frequency of use (rare).
However the palette editor screen is already due for a reworking, as Yrizoud
points out. Some buttons (Gray, Neg) are rarely applied enough that they belong
in a popup menu similar to 'Sort' rather than occupying screen space
permanently, and it seems rather likely that the two [verb], X-[verb] pairs of
functions can be merged into one button each. If you're thinking like that,
then load and save could go in the same menu of rarely used functions as Gray
and Neg, and would occupy no permanent screen space.
Original comment by 00a...@gmail.com
on 12 Dec 2012 at 9:39
The GrafX2 UI isn't much into menus. There's a good reason for that : using
plain buttons allows you to see everything at once, and avoids us bug reports
where users ask for a feature that is already available, but that they didn't
find in the UI.
Same apply (even more) for buttons having a different action on right click.
This is quite unusual and unexpected from users, so we try to avoid it, except
on the main menu.
Another approach to free space would be to use icons in this window. I think we
can get things like "spread", "swap", "neg", "sort" expressed with icons rather
easily.This would reduce the buttons to a smaller size, allowing for a bit more
space without going with nested menus.
Random unrelated idea: maybe we could have a special marker (top right corner
folded or so) to indicate there's an extra function on right-click of a button.
Example in DOpus 4 from Amiga: http://aadb.amiga.me/data/DirOpus4.png
IIRC the extra function will show when right clicking the button, and execute
when releasiung the mouse button unless the pointer moved elsewhere in between.
Original comment by pulkoma...@gmail.com
on 15 Dec 2012 at 8:07
Patch applied in r2112. I made space for load and save buttons in the palette
screen.
Original comment by pulkoma...@gmail.com
on 4 Mar 2015 at 1:46
Original issue reported on code.google.com by
00a...@gmail.com
on 30 Nov 2012 at 11:29