12 March 2018, 00:55 | #1 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
[cross-platform] Gimp python plugin to bring image near OCS color resolution
I've hacked this plugin this evening
https://github.com/alexalkis/palette_amigaOCS Only tested on linux. |
12 March 2018, 01:40 | #2 |
Banned
Join Date: Mar 2018
Location: Finland
Posts: 36
|
|
12 March 2018, 21:27 | #3 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Any sample image that demonstrates that? Or was it a faith statement?
|
12 March 2018, 21:31 | #4 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,644
|
I guess both things are different. This script does not do HAM stuff (HAM is not straight bitplane conversion), but it's a handy way for people who use GIMP to convert images to Amiga-friendly formats.
Personally I use a combination of tools. XnView also does a decent job of color reduction with different dithering and exporting to IFF. It'sa good, cross-platform option, super fast and with a small footprint. |
12 March 2018, 21:36 | #5 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
It's handy to have in a paint program cause you can do modifications to fix things. Anyways, I needed an approximation of how it would look in OCS.
|
12 March 2018, 21:40 | #6 |
Banned
Join Date: Mar 2018
Location: Finland
Posts: 36
|
ham_convert does much more than just HAM stuff. Just check the link and don't make prejudicious comments. And last but not least, try the software yourself!
|
12 March 2018, 21:43 | #7 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Huh? What prejudicious comments? It was a honest question, do you have a sample image that shows what you are stating or are you saying something on faith?
|
12 March 2018, 21:51 | #8 | |
Banned
Join Date: Mar 2018
Location: Finland
Posts: 36
|
Quote:
It's Java software so few people may not want to use it. You should try the software yourself, I'm not going to generate any previews... |
|
12 March 2018, 21:57 | #9 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Ok, I'll try it. Thanks for the link, btw.
|
12 March 2018, 22:30 | #10 |
Banned
Join Date: Mar 2018
Location: Finland
Posts: 36
|
Atkinson dithering is probably the best. Palette generation modes 0-7 will help remove color artifacts.
|
12 March 2018, 23:50 | #11 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
Does anyone managed to make it working with Gimp 2.8 on Windows ?
Tried in both plug-in folders* but nothing appears in the menu EVEN if I can see the filename when the application start... *edit -> settings -> folders -> plug-in, %USERPROFILE%\.gimp-2.8\plug-ins %ProgramFiles%\GIMP2\lib\gimp\2.0\plug-ins |
13 March 2018, 17:32 | #12 | |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Quote:
(Windows 10/64 bit) |
|
13 March 2018, 18:11 | #13 | |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Quote:
menu="<Image>/Filters/Render" to menu="<Image>/Filtres/Rendu" Second hmm, try changing it to cause it wouldn't make any sense to go with the first replacement menu=N_("<Image>/Filters/Render") Last edited by alkis; 13 March 2018 at 19:22. |
|
13 March 2018, 23:27 | #14 | |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
Quote:
A search on "Filters/" returned only one occurrence in line 970 ! Line 970 ? I thought your script was smaller.... So I had a look again in github. Script has 122 lines... So what happened ??? After looking a bit I understood what happened. When downloading your file, I right-clicked on the palette_amigaOCS.py file to "save as...". Bad idea . So I deleted the file on my system and clicked on "Clone or download" in github, got the zip file and extracted it. Now the palette_amigaOCS.py on my system has 122 lines . Ok re-loaded Gimp... drum roll... No, no entry in Filter/Render menu . Changed the entry as proposed : menu=N_("<Image>/Filters/Render") -> menu=N_("<Image>/Filtres/Rendu")) Re-loaded Gimp... drum roll... No, no entry in Filter/Render menu BUT a new menu "Filtres" is present and has a "Rendu" sub-menu . (see first thumbnail) I then opened another Gimp plug-in to see how the menu line is written. I opened the file foggify.py . It is written as : menu="<Image>/Filters/Render/Clouds",. So I changed the menu line as : menu="<Image>/Filters/Render" (in English) and re-loaded Gimp... drum roll... No, still not here Tried the option to re-load the scripts-fu... waited 15 seconds... drum roll... YES !!! finally it's here ! . And stay there each time I launch Gimp . (see second thumbnail) So to sum up on my config (French Gimp) for your plug-in to be displayed where you expected it : "/Filters/Render" has to be kept in English, no "N_(" notation, and re-load of the script-fu used. With all of this, I still haven't tested your plug-in... ! Edit: When re-reading my post I noticed a misprint in the screenshot... Who will see it ? Last edited by malko; 13 March 2018 at 23:48. |
|
13 March 2018, 23:34 | #15 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
cool, thanks for all the combinations you tried!
Updated the plugin on repository, according to feedback! Last edited by alkis; 13 March 2018 at 23:44. |
13 March 2018, 23:40 | #16 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
You are welcome
PS: If you have a Gimp plug-in to create Amiga Icons, it's with pleasure |
30 April 2020, 01:32 | #17 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
Just a feedback to say that the plug-in is also working with latest GIMP (2.10.18)
|
18 September 2022, 13:50 | #18 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
Still works with latest GIMP 2.10.32.
|
19 September 2022, 13:33 | #19 |
Registered User
Join Date: Apr 2018
Location: UK
Posts: 487
|
Do you plan to add HAM support? It would very much help me with my HAM game.
|
19 September 2022, 16:24 | #20 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
An iff image plugin for KDE4 | alkis | Coders. General | 0 | 20 July 2013 22:33 |
Amiga Sprite/Tile Cross-Platform Software? | diablothe2nd | Amiga scene | 16 | 12 July 2013 17:29 |
XAMOS - new cross-platform rewrite of jAMOS | Mequa | News | 24 | 14 December 2012 09:49 |
Cross-platform gui? | ceztko | request.UAE Wishlist | 15 | 03 January 2008 18:50 |
Eclipse-Plugin for Amiga-Cross-development | Paul | News | 1 | 04 September 2004 17:36 |
|
|