Welcome, Guest. Please login or register.

Author Topic: How to display BIG pictures with only 2MB of Chip RAM?  (Read 3095 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mingleTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2003
  • Posts: 660
    • Show only replies by mingle
How to display BIG pictures with only 2MB of Chip RAM?
« 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.
 

Offline Colmiga

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 105
    • Show only replies by Colmiga
    • http://colmiga.org
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #1 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.
Sam460ex: PPC460ex/1GHz, 2GB RAM, 30GB SSD via on-board SATA-2, DVD-RW via USB, Radeon 5450 1GB PCIe, Catweasel Mk4 PCI, A4000 KB and Competition Pro CD32 Pad.
A4000D: 030/25MHz, 16MB RAM, Indivision Mk1, 8GB CF as HDD and IDE CD-ROM.

Amiga user since 1992.
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #2 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.
 

Offline Britelite

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 187
    • Show only replies by Britelite
    • http://www.dekadence64.org
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #3 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.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #4 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.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #5 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

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

Offline Thomas

Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #6 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

Offline loveripad

  • Newbie
  • *
  • Join Date: Jun 2010
  • Posts: 5
    • Show only replies by loveripad
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #7 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
« Last Edit: June 06, 2010, 09:43:23 PM by loveripad »
 

Offline Xanxi

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 900
    • Show only replies by Xanxi
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #8 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.
10 Classic Amiga Computers so far: I have too many computers!!
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: How to display BIG pictures with only 2MB of Chip RAM?
« Reply #9 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

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.