English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Releases

 
 
Thread Tools
Old 29 April 2020, 02:20   #1
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
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)
Attached Thumbnails
Click image for larger version

Name:	iff checker screenie.JPG
Views:	322
Size:	55.0 KB
ID:	67077  
Attached Files
File Type: zip IFFChecker114.zip (627.0 KB, 202 views)

Last edited by Nightshft; 28 May 2020 at 19:07. Reason: Updated attachment to 1.1.2
Nightshft is offline  
Old 29 April 2020, 13:00   #2
ptyerman
Registered User
 
ptyerman's Avatar
 
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
I will find this useful. Thanks.
ptyerman is offline  
Old 29 April 2020, 13:56   #3
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
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
Nightshft is offline  
Old 29 April 2020, 17:09   #4
Nobby_UK
Registered User
 
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 2,595
What does this mean ?

Last edited by Nobby_UK; 22 November 2021 at 19:04.
Nobby_UK is offline  
Old 29 April 2020, 22:06   #5
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
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.
Nightshft is offline  
Old 29 April 2020, 22:29   #6
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
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.
StingRay is offline  
Old 29 April 2020, 23:54   #7
coldacid
WinUAE 4000/40, V4SA
 
coldacid's Avatar
 
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
Nice tool. What'd you use to write this?
coldacid is offline  
Old 30 April 2020, 00:56   #8
Nobby_UK
Registered User
 
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 2,595
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.
Nobby_UK is offline  
Old 30 April 2020, 02:10   #9
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
Quote:
Originally Posted by StingRay View Post
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.
Let me think about it. You'r right! Guess I remove it in the next version.

Quote:
Originally Posted by coldacid View Post
Nice tool. What'd you use to write this?
Thank you coldacid. It's written in Delphi.
Quote:
Originally Posted by Nobby_UK View Post
No they were 2 small bitmaps I tile on Workbench...
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.
Nightshft is offline  
Old 30 April 2020, 19:36   #10
Nobby_UK
Registered User
 
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 2,595
Too late I've 'fixed' them
Nobby_UK is offline  
Old 10 May 2020, 17:40   #11
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
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...
Nightshft is offline  
Old 10 May 2020, 23:52   #12
Nobby_UK
Registered User
 
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 2,595
"Amiga pictures should have an even width"

Says Who ?
Nobby_UK is offline  
Old 11 May 2020, 01:11   #13
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
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.
Nightshft is offline  
Old 28 May 2020, 19:02   #14
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 615
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
Nightshft 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
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

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 19:31.

Top

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