CompuServe Thread

AMIGBN/CHOP

4 messages in this thread
#11199From: Wayne DavisonMar 11, 1986 10:45 AM
Mike, Your problem with Aterm5 chopping the picture file too short can be kludged after-the-fact as follows: Type the command: copy * to nulls and enter a few nulls from the keyboard (Ctrl-@) followed by one ctrl-\ to end the file. You now have a file with nothing but nulls in it, and can use the JOIN command to join your picture to the nulls, resulting in a proper length file. For example: join this.pic nulls as newthis.pic The reason this works is that Aterm5 only chops nulls from a file (the ctrl-Z chopping hasn't been fixed yet(?)), so you can be assured that adding nulls is the right thing to do. Further, you don't need to worry about adding too many nulls, because IFF programs don't care if the IFF files are too long. They just ignore the extra characters. –Wayne
#11212From: Doug AlbinsMar 11, 1986 7:57 PM
Wayne, I've downloaded IFF format .pic files before and they allway have needed to be the right length. I've tried loading OVERlength files and it just don't work! are you SURE about IFF not caring about file excess length?? Doug * Reply: 11249
#11249From: Wayne DavisonMar 12, 1986 1:26 AM
I guess it depends on the program used to display the IFF files. Do you use Dpaint or Images? I generally use DPslide, and it couldn't possibly care less if the file is too long. I thot that the IFF format was more forgiving, but it appears that I assumed too much from my experience. –Wayne * RR 11212
#11270From: MICHAEL GEIERMar 12, 1986 6:39 AM
Wayne, Thank you for the assist with the IFF chop problem. I read the messages between you and Doug Albins, but you were correct. I looked at the files with FileZa.exe and the last byte in 5 of the 6 I looked at was a 00 byte so adding nulls would work fine. In the one that didn't end with a 00 adding a null slightly changed the appearance of the last line of the picture. In either case the file was then loadable with DPaint, while when one byte short it complained about wrong format. DPSlid worked with the file too short or too long but I can't get it to work with MAND.exe pictures until after re-saving them with DPaint (but that's another story). I was able to get around the first problem by using Maxicomm and then using Trunc on the file but your method is easier because it saves having to reboot with the protected disk etc. Again, Thank you. – Mike Geier