29 April 2020, 02:20 | #1 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
IFF-Checker (Windows)
I created a small windows tool that shows you information about iff-files (pictures)
- picture dimensions - number of bitplanes - number of colours - compressed yes/no - ham mode yes/no - the rgb values of the palette (if present) - and more Installation: No installation needed - it's just a portable. Usage: As simple as it can be - just drag&drop .iff files onto it. I hope it's useful. Enjoy Update: Version 1.1.4 (see posts below) Last edited by Nightshft; 28 May 2020 at 19:07. Reason: Updated attachment to 1.1.2 |
29 April 2020, 13:00 | #2 |
Registered User
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
|
I will find this useful. Thanks.
|
29 April 2020, 13:56 | #3 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
I hope you do, cheers
Note that it can list the palette color values and it's possible to copy and paste them. My main motivation was that PaintShopPro and XnView don't show the actual number of bitplanes of an iff file. They round up to 4 and 8 respectively. And thus it's handy to have something that shows you the correct number of bitplanes. -- It started as a quick hack that reads values at hardcoded adresses. Then I realized that - iff uses chunks - reading the other chunks can be fun/useful too - in rare cases the file even starts with other chunks and the bitmap header comes later Which lead me from - read some fix adresses to - read all the chunks (its basicly a linked list) - parse the data It was quite some work as I used no libraries and wrote everything from scratch. IMHO it's working quite well now. -- Version 1.1 is in the making. It will - recognize EHB iff files (version 1.0 recognizes HAM) - do better filechecks - improved stability when file corrupt |
29 April 2020, 17:09 | #4 |
Registered User
Join Date: Jul 2013
Location: Liverpool
Posts: 2,598
|
What does this mean ?
Last edited by Nobby_UK; 22 November 2021 at 19:04. |
29 April 2020, 22:06 | #5 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Yeah, sorry. I tested v1.0 with a lot of valid iff files, which worked fine,
but forgot to implement checks into the parsing routine for wrong data. Which are implemented in Version 1.1 - identify EHB iff files - do better filechecks - no more crashes when file not iff or corrupt (Download at first post) I think it's rock stable now. Please test/comment/criticize/praise and most importantly use it @Nobby_UK I suppose this happened with a non iff file? Last edited by Nightshft; 29 April 2020 at 22:11. |
29 April 2020, 22:29 | #6 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quickly tested it with a few files, seems to work fine. I'd remove the "Warning: Fileextension should be IFF" message though as the extension is completely irrelevant on Amiga. And hence shouldn't matter on PC either when you check files. Content matters, extension doesn't.
|
29 April 2020, 23:54 | #7 |
WinUAE 4000/40, V4SA
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
|
Nice tool. What'd you use to write this?
|
30 April 2020, 00:56 | #8 |
Registered User
Join Date: Jul 2013
Location: Liverpool
Posts: 2,598
|
No they were 2 small bitmaps I tile on Workbench:
+ Updated Grab: I rotated one and re:saved that and go no error Last edited by Nobby_UK; 22 November 2021 at 19:04. |
30 April 2020, 02:10 | #9 | |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Quote:
Thank you coldacid. It's written in Delphi. Could you pm me with some link to those files please? (Maybe gdrive or dropbox? working and non working version would be needed). I'd really like to investigate. |
|
30 April 2020, 19:36 | #10 |
Registered User
Join Date: Jul 2013
Location: Liverpool
Posts: 2,598
|
Too late I've 'fixed' them
|
10 May 2020, 17:40 | #11 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
A fresh small update...
Version 1.1.2 - no more warning if fileExtension is not .iff (thx Stingray ) and some additional output: - filesize [kB] - transparent colour (pen) info if present - AUTH string if present (Author information) As always, the download is the attachment of the first post. Enjoy... |
10 May 2020, 23:52 | #12 |
Registered User
Join Date: Jul 2013
Location: Liverpool
Posts: 2,598
|
"Amiga pictures should have an even width"
Says Who ? |
11 May 2020, 01:11 | #13 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Carolyn Scheppner (Commodore Amiga Technical Support) mentioned it in an iff ilbm reference article from back then.
Not sure if this still holds true. If not, I can easily remove/mute the check in the next version. |
28 May 2020, 19:02 | #14 |
Registered User
Join Date: Mar 2018
Location: Austria
Posts: 617
|
Version 1.1.4
- now reads palette files (for example DPaintIV .pal and .set files) - doubleclick on background in palette-list-view toggles between hex and dec values - small fixes |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need An IFF/8SVX and an IFF/ANIM Player for PC | searcher | request.Apps | 24 | 02 July 2020 12:09 |
Version checker? | DDNI | request.Apps | 4 | 13 November 2009 18:03 |
Virus Checker 8.03 | Avanze | request.Apps | 1 | 02 October 2003 20:36 |
Virus Checker | Djay | request.Apps | 3 | 03 September 2002 23:03 |
|
|