Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-07 Thread Sven Neumann
Hi, On Mon, 2008-07-07 at 08:59 +0200, Rogier Wolff wrote: > So, when on my original image, I select part, and use the "fill with > gradient" tool, I first get a progress bar that moves in about 30 > seconds from 0 to 100%. Then I have to wait about 30 seconds for the > swapping to stop. The fill

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-07 Thread Sven Neumann
Hi, it would have helped a lot if you had changed the subject of your mail, since apparently you have changed the topic completely. Also your mail should have better been send to the gimp-user list. Please do that next time you have questions on using GIMP. On Mon, 2008-07-07 at 08:45 +0200, Rogi

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Rogier Wolff
On Mon, Jul 07, 2008 at 08:45:04AM +0200, Sven Neumann wrote: > But as soon as you perform an operation on the image, the > full-scale image data needs to be touched. Agreed. This is much easier to program. However, when I'm zoomed in to say a 4 megapixel part of the image, and the selection is in

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Rogier Wolff
On Sun, Jul 06, 2008 at 09:54:50PM -0700, Bill Skaggs wrote: > On Sun, Jul 6, 2008 at 9:41 PM, Rogier Wolff <[EMAIL PROTECTED]> wrote: > > > But then why, on a machine with 700Mb RAM, does EVERYTHING take > > so very long? My image is "only 50Mpixel". > The minimum memory usage for a 50 Mpixel RG

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Sven Neumann
Hi, On Mon, 2008-07-07 at 08:00 +0200, Rogier Wolff wrote: > > The minimum memory usage for a 50 Mpixel RGBA image is 400 MB, and > > Fine. So you're saying that gimp wastes a factor of two of > memory. Fine! probably neccesary for something. No problem with that. GIMP needs to allocate the mem

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Rogier Wolff
On Sun, Jul 06, 2008 at 09:54:50PM -0700, Bill Skaggs wrote: > On Sun, Jul 6, 2008 at 9:41 PM, Rogier Wolff <[EMAIL PROTECTED]> wrote: > > > But then why, on a machine with 700Mb RAM, does EVERYTHING take > > so very long? My image is "only 50Mpixel". > The minimum memory usage for a 50 Mpixel RG

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Bill Skaggs
On Sun, Jul 6, 2008 at 9:41 PM, Rogier Wolff <[EMAIL PROTECTED]> wrote: > But then why, on a machine with 700Mb RAM, does EVERYTHING take > so very long? My image is "only 50Mpixel". The minimum memory usage for a 50 Mpixel RGBA image is 400 MB, and that's if you only have a single layer. So giv

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Stephen Norris
On Mon, 2008-07-07 at 06:41 +0200, Rogier Wolff wrote: > On Sun, Jul 06, 2008 at 05:51:24PM -0400, Liam R E Quin wrote: > > > Currently images are commonly stored as an array of rows of pixels. > > GIMP does in fact use image tiles. > > But then why, on a machine with 700Mb RAM, does EVERYTHING ta

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Rogier Wolff
On Sun, Jul 06, 2008 at 05:51:24PM -0400, Liam R E Quin wrote: > > Currently images are commonly stored as an array of rows of pixels. > GIMP does in fact use image tiles. But then why, on a machine with 700Mb RAM, does EVERYTHING take so very long? My image is "only 50Mpixel". Roger.

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Martin Nordholts
Rogier Wolff wrote: > Hi, > > Currently images are commonly stored as an array of rows of pixels. > > I just realized I missed the word 'commonly', so I would like to adjust my answer to: Yes but not in any serious image editing application like GIMP. In GIMP images and layers etc are stor

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Martin Nordholts
Rogier Wolff wrote: > Hi, > > Currently images are commonly stored as an array of rows of pixels. > Hi No, they are stored in a tile based structure, check out app/base/tile-manager.h > [Description of mipmapping and a wish to implement it in GIMP] > The projection is mipmapped since GIMP

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Liam R E Quin
On Sun, 2008-07-06 at 23:34 +0200, Rogier Wolff wrote: > I'm trying to touch up the result of a panorama shot I took. This > takes quite long, mostly because the image is too big to fit into > memory. Working with large images does require a little extra care. It helps to set the gimp tile cache

Re: [Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread The Peach
On Sun, 6 Jul 2008 23:34:40 +0200 Rogier wrote: > I'm trying to touch up the result of a panorama shot I took. This > takes quite long, mostly because the image is too big to fit into > memory. nice one Roger, I did have great problems on the same issue with sat maps with an older version of gim

[Gimp-developer] Suggested in memory image data structure.

2008-07-06 Thread Rogier Wolff
Hi, I'm trying to touch up the result of a panorama shot I took. This takes quite long, mostly because the image is too big to fit into memory. I would like to suggest a way of storing the image data in memory in such a way that it doesn't take so much memory. Or at least, it doesn't require so