Welcome, Guest. Please login or register.

Author Topic: 68K Dev Question: How do I work with images in C or C++ on the Amiga?  (Read 3174 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
I have been trying to find place that describes how to load an image and present it with code. Things that would be nice to understand:

  • How to load an image pre-datatypes
  • How to load an image with datatypes
  • How to display an image in a regular window
  • How to display an image directly to a screen


  • Examples on how to do this with <=3.1 would be great
  • Examples on how to do this with >3.1 would also be enlightening
  • Examples on how to do this with 24-bit images would be welcomed


  • What types of images are supported without datatypes? ILBM? Anything else?
  • Any info on tools you might use to convert PNGs, JPGs and more to ILBM
  • Anything else along these lines


Thanks in advance.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: 68K Dev Question: How do I work with images in C or C++ on the Amiga?
« Reply #1 on: January 31, 2015, 11:46:10 PM »
Thomas, do you have any quick examples on how to do what I asked in C or C++? Clearly with datatypes since it would seem that coming up with your own bitmap format or writing a parser for a bitmap would be a waste of time unless you were limited to OS1.3 or (when did they add datatypes? 2.x?)
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500