English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 24 September 2022, 23:12   #1
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
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.
Galahad/FLT is offline  
Old 25 September 2022, 08:36   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
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.
thomas is offline  
Old 25 September 2022, 12:37   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
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.
Toni Wilen is offline  
Old 25 September 2022, 17:08   #4
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
^
malko is offline  
Old 25 September 2022, 18:04   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
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.
Toni Wilen is offline  
Old 25 September 2022, 19:05   #6
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Damn it, if I had a need for heroes, T.Wilen would be on my hero list

Thanks for this
Galahad/FLT 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
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

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 17:28.

Top

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