Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: mingle on May 28, 2010, 03:36:31 AM

Title: How to display BIG pictures with only 2MB of Chip RAM?
Post by: mingle on May 28, 2010, 03:36:31 AM
Hi,

I'm trying to display some largish images on my KS3.1 A4000 (2MB CHIP and 16MB Fast RAM), but Visage just gives an error: Not enough memory" (or similar when it tries to load the photo).

The pics (JPGs) are about 2048 x 1536 x 24bit...

Does anyone know of any pic viewers that can somehow get around the 2MB Chip RAM limit?

Cheers,

Mike.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: Colmiga on May 28, 2010, 06:40:15 AM
You're running KS/WB 3.1? I tested the 3.9 version of MultiView with a JPEG from my 12MP camera and it displays fine on a 640x512x256 AGA screenmode. The Datatypes use Fast RAM to store the image. I did notice it took over 30MB of Fast RAM though.

You may want to consider more Fast RAM through something like a CPU board or a Zorro III card as large JPEGs need lots of RAM to decode. I'm not sure what programs you could try if you are running 3.1 but have a look on Aminet for either updated Datatypes (such as the picture.datatype and jpeg.datatype, I'm using WarpJPEG+OS3.9 Picture Datatype) that support loading to Fast RAM or an image viewer that supports this feature.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: stefcep2 on May 28, 2010, 07:14:19 AM
AK datatypes worked very well for me to open big jpegs.  they come with preference programs as to where to store the image data eg fast or chip, dithering, and they're pretty fast too.  They're on Aminet.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: Britelite on May 28, 2010, 07:37:09 AM
Quote from: mingle;561510

The pics (JPGs) are about 2048 x 1536 x 24bit...

Does anyone know of any pic viewers that can somehow get around the 2MB Chip RAM limit?


The problem is not the amount of Chip RAM, but the amount of Fast RAM. The image in itself will already require almost 10MB of memory, so you really need to upgrade the amount of Fast RAM you have.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: ChaosLord on May 28, 2010, 07:44:11 AM
Your pic takes 12.5MB of fastram.  Visage and various other viewers probably want that as 1 big chunk of memory.  You probably do not have any memory chunk of that size available on your system.

Before you try to load the pic, goto shell and type
Code: [Select]
avail
and tell us what it says.

Then we will know exactly what the memory situation is.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: ElPolloDiabl on May 28, 2010, 09:20:31 AM
There is a couple of virtual memory programs on aminet:

http://aminet.net/search?query=virtual+memory (http://aminet.net/search?query=virtual+memory)

I've seen one reviewed in a magazine, but I don't have a clue which one that was.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: Thomas on May 28, 2010, 11:00:15 PM
Quote from: mingle;561510
Hi,

I'm trying to display some largish images on my KS3.1 A4000 (2MB CHIP and 16MB Fast RAM), but Visage just gives an error: Not enough memory" (or similar when it tries to load the photo).

The pics (JPGs) are about 2048 x 1536 x 24bit...

Does anyone know of any pic viewers that can somehow get around the 2MB Chip RAM limit?

Cheers,

Mike.



Here is a small program which I wrote quickly. It will display JPEGs of any size on a hires interlaced HAM8 screen using jpeg.library. Pictures are scaled down if needed and converted to HAM on the fly. HAM quality is rather poor and the program is probably quite slow. My CSPPC 060 needs about ten seconds to load one image. On WinUAE it needs less than two seconds.

The program reads the entire directory and you can scroll back and forward using the cursor keys or space / backspace. Esc key quits the program.

Bye,
Thomas
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: loveripad on June 06, 2010, 01:56:38 PM
Using a fast RAM is the only obvious choice here. What yiu are saying is very logical as well as useful but getting it done in the real world does not seem to be that easy. Use something like a CPU board or a Zorro 3 and see if that works. Still the issue is that it may take some time to load or decode so it still isn’t that easy to achieve. I hope you come up with some mastermind for this!

Business  Process Automation (http://www.inin.com/ProductSolutions/Pages/CBPA.aspx)
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: Xanxi on December 11, 2010, 12:07:29 PM
Hi.
Digging out this thread because i have the same problem with Visage using only the CHIP RAM.
Can't be a lack of FAST RAM as i have 256 MB.
I have datatypes.library 45.4 but i don't  know if this is relevant for Visage.
Title: Re: How to display BIG pictures with only 2MB of Chip RAM?
Post by: save2600 on December 11, 2010, 05:37:54 PM
Quote from: ElPolloDiabl;561560
There is a couple of virtual memory programs on aminet:

http://aminet.net/search?query=virtual+memory (http://aminet.net/search?query=virtual+memory)

I've seen one reviewed in a magazine, but I don't have a clue which one that was.


You're probably thinking of GigaMem. That was a commercial virtual memory program that worked really well. I have an original copy w/ manual in fact, but haven't messed around with it in ages.