24 September 2022, 23:12 | #1 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,035
|
Save Picture......
Aloha Toni.
Is there any chance we could have the option when we "SAVE SCREENSHOT" whether or not we want to save as .IFF ? I for one would find it handy to be able to immediately incorporate IFF files without having to dick about converting them first. |
25 September 2022, 08:36 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,050
|
The saved screenshot is a truecolor image, it does not make sense to save it as .iff, you would have to convert it anyway. Programs which can load 24bit iff's usually can also handle png and jpg.
|
25 September 2022, 12:37 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
I have plans to "reverse" 24-bit screenshot internal bitmap back to paletted image if it has 256 or less colors and also try to match palette indexes back to current chipset palette colors. Of course this won't work very well if colors are changed mid screen (and more) but probably it is better than all colors in random palette positions.
Still not sure if IFF is worth the trouble. IFF encoder already exists (clipboard image support requires it) which means the most boring part is already done. EDIT: palette reserve remapping done. Palette index creation option in Output panel. Last edited by Toni Wilen; 25 September 2022 at 16:17. |
25 September 2022, 17:08 | #4 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,155
|
^
|
25 September 2022, 18:04 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,611
|
Ok, done.
Two enable methods: Screenshot_Mode registry/ini integer value set to 2 (0=bmp,1=png,2=iff) -screenshotiff command line parameter. 24-bit IFF not tested. Remember to enable new 256 color option in Output panel or you will always get 24 bit IFF. Remember that even OCS/ECS can easily have more than 256 colors on screen -> 24 bit IFF. Check the log for details. EDIT: creates uncompressed iffs. Need C iff compressor source. (yes, it is quite simple but I am not interested in doing it) EDIT2: in IFF mode it tries to create IFF with as few colors as possible, other modes try to preserve first 32 palette entries. (Most old IFF readers usually don't like >5 plane images) Last edited by Toni Wilen; 26 September 2022 at 18:41. |
25 September 2022, 19:05 | #6 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,035
|
Damn it, if I had a need for heroes, T.Wilen would be on my hero list
Thanks for this |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
save game and save state problems | markyboy147 | support.FS-UAE | 12 | 05 October 2022 20:31 |
Save game and Save state in wrong dir game | xevious1974 | support.FS-UAE | 1 | 11 December 2017 11:18 |
WB Picture in OS 3.9 | videofx | support.Apps | 1 | 31 May 2014 22:56 |
Trained save game or kick-butt RPG party save disk for Pool of Raidiance | 7-Zark-7 | request.Old Rare Games | 1 | 16 June 2003 01:51 |
How do I get a Picture By my name? | Ricky55 | project.EAB | 2 | 24 June 2002 06:21 |
|
|