Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Load Iff screen "can't fit picture in current screen"  (Read 8965 times)

0 Members and 1 Guest are viewing this topic.

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Load Iff screen "can't fit picture in current screen"
« on: May 26, 2016, 01:51:36 PM »

Hi folks, well here's my first question.

I've been working through the Game Maker's manual and it's great but I came to the section on screens and loading iff screens which I assume means a pre made background in a paint program.

I made an .iff file from a random sprite sheet (just to see what something looks like on the screen) in paint shop pro and put it in my DH1: virtual hard drive but I can't seem to load it.

I made a screen and then used the command- Load iff "DH1:cody.iff" but it just keeps saying "can't fit picture into current screen" and the section on loading iff's in the Game Makers's manual is only a short paragraph which doesn't go into any detail about this or any other error.

I tried cutting the image down to the screen size but now it says I/O error and I'm stumped at what to do now.

Thanks!

« Last Edit: May 26, 2016, 02:35:36 PM by Brick Nash »
Logged

bruceuncle

  • AMOS Dev
  • A500
  • *****
  • Karma: 6
  • Offline Offline
  • Gender: Male
  • Posts: 425
  • WINUAE Amiga User
Re: Load Iff screen "can't fit picture in current screen"
« Reply #1 on: May 27, 2016, 12:56:39 AM »

I also use Paint Shop Pro in Windows.  Unfortunately, whilst it will quite happily read files produced on an Amiga, its own IFF format is incompatible.  So files saved on the PC side won't load on the Amiga emulation side.  The IFF format underwent lots of changes and isn't always compatible across platforms.
Deluxe Paint is probably the easiest to use for creating compatible graphics.
When you load IFF piccies into AMOS, the file format must exactly match the screen you're loading to - width, height and colour depth.  When you've got it to load successfully, save the screen in AMOS's own pac pic format and any hassles disappear.
Good luck.  It's been a while since I used IFF loads so I'll have a play with it in case there's any gotchas I can't remember.
Sent from my Lumia 640 using Tapatalk
Logged
Repeat after me ...  "The AMOS Pro architecture is complex but it is not complicated."

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: Load Iff screen "can't fit picture in current screen"
« Reply #2 on: May 27, 2016, 06:55:30 AM »

Thanks for the reply, I'll make a note of matching the screen size from now on.

As for compatibility I managed to get one image saved in Paint Shop Pro loaded into DPaintIV in WInUAE ok but the rest don't seem to be compatible. I've got a bunch of sprite sheets and backgrounds that I got from the internet so how would I go about converting them to be used on Amiga? If there another program that can be used to convert?

In fact can deluxe paint read things like bitmap graphics? Or is there maybe a windows version of Dpaint that can save in a compatible format?

Thanks!
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Load Iff screen "can't fit picture in current screen"
« Reply #3 on: May 27, 2016, 08:22:57 AM »

If you use AmigaOS 3, you can use datatypes to load picture files and save them in IFF ILBM format.  Also, Personal Paint supports loading PNG and GIF image files.  When you import images, be careful about palette remapping if you plan on using palette cycling.
Logged

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: Load Iff screen "can't fit picture in current screen"
« Reply #4 on: May 29, 2016, 10:27:03 AM »

Also, Personal Paint supports loading PNG and GIF image files.  When you import images, be careful about palette remapping if you plan on using palette cycling.

I'm having a look at Personal Paint right now. Seems great, I loaded up a PNG right from windows and saved as an ILBM IFF file with no hassle. (I assume this file type is Amos compatible!)

It even has an animation studio which I'm overjoyed about as it'll be great for checking sprite and bob animations.

Thanks once again! :)
Logged

LuisCoCo

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 7
  • Retro User And Programing
    • Retro Software in spanish
Re: Load Iff screen "can't fit picture in current screen"
« Reply #5 on: June 02, 2016, 05:18:06 PM »


I suggest using Pain pro shop and then Dpain before using AMOS Load IFF
, The Dpaint fixes some excess paint shop pro information
Logged

Xertese

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
  • Generic Amiga User
Re: Load Iff screen "can't fit picture in current screen"
« Reply #6 on: June 04, 2016, 10:11:13 AM »

ACDSee is a PC image editor and allows you to manipulate and save files as iff which are compatible with DPaint IV and 3 if resized properly
Logged

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Re: Load Iff screen "can't fit picture in current screen"
« Reply #7 on: July 01, 2016, 02:09:01 PM »

Load iff "image.iff",0 will open the correct screen format if are Ocs/ecs compatible in screen 0

Enviado desde mi SM-N9005 mediante Tapatalk

Logged
AMIGA is a Style of Life

Kaligon75

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 16
  • Generic Amiga User
Re: Load Iff screen "can't fit picture in current screen"
« Reply #8 on: September 12, 2016, 04:46:14 PM »

Hi... another issue to load Iff picture is for images more large than 960 pixel. In my case I need to load a 1280x200 pixel large  Iff image as background for my game project but Amos returns me an error. Is it possible to load it in any way ?
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Load Iff screen "can't fit picture in current screen"
« Reply #9 on: September 12, 2016, 05:31:23 PM »

The Amiga OCS machine has a maximum width of 1024 pixels per screen.  Going bigger would require ECS or AGA support.
Logged

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Re: Load Iff screen "can't fit picture in current screen"
« Reply #10 on: September 12, 2016, 10:44:09 PM »

Hello what is the max width in ECS?? And in AGA? Amos limit from I know is 1024 Width any one here know some way to break this limit? Regards

Enviado desde mi LG-E460 mediante Tapatalk

Logged
AMIGA is a Style of Life

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Load Iff screen "can't fit picture in current screen"
« Reply #11 on: September 13, 2016, 07:44:36 AM »

The limit of ECS and AGA is 32768.
Logged

Kaligon75

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 16
  • Generic Amiga User
Re: Load Iff screen "can't fit picture in current screen"
« Reply #12 on: September 13, 2016, 03:22:09 PM »

Ok, so I think the limit is attributable to AmosPro because I work on Amiga 1200 with 9 megs of fast ram. Is there an extension that break down this limit ?
Logged

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Re: Load Iff screen "can't fit picture in current screen"
« Reply #13 on: September 13, 2016, 07:57:37 PM »

32768!!! Woaaauuu Only now need to know how to break or a extension to let Amos use almost ECS limit... regards

Enviado desde mi LG-E460 mediante Tapatalk

Logged
AMIGA is a Style of Life

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Load Iff screen "can't fit picture in current screen"
« Reply #14 on: September 13, 2016, 08:00:39 PM »

You would have to use the OS functions more directly with an OS devkit or Intuition extension and use a different graphic loader also.  You won't be able to use the Amos graphics commands either.
Logged
Pages: [1] 2   Go Up
 

TinyPortal 2.2.2 © 2005-2022