[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: image size limit?
From: |
Richard M. Stallman |
Subject: |
Re: image size limit? |
Date: |
Mon, 17 Oct 2005 13:30:41 -0400 |
+ #define MAX_IMAGE_SIZE 100000
+ EMACS_INT Vmax_image_size;
100000 as a limit of linear dimension is too large.
A square image 100000-1 on each side will be 10 billion pixels,
far too large to fit in a 32 bit machine.
Such a limit should be more like 3000. (That would allow
almost 10 million pixels, which is still very big.)
But I don't think this limit should be absolute. I think it should be
specified as a multiple of the frame height and width, and it should
be given as a floating point number. I'd suggest 2.0 as the default
for this ratio.
The error messages should say "Image too large"
rather than "Invalid image size".
- image size limit?, Chong Yidong, 2005/10/11
- Re: image size limit?, Kevin Rodgers, 2005/10/11
- Re: image size limit?, Richard M. Stallman, 2005/10/12
- Re: image size limit?, Romain Francoise, 2005/10/12
- Re: image size limit?, Richard M. Stallman, 2005/10/13
- Re: image size limit?, Chong Yidong, 2005/10/14
- Re: image size limit?, Richard M. Stallman, 2005/10/15
- Re: image size limit?, Chong Yidong, 2005/10/15
- Re: image size limit?, Richard M. Stallman, 2005/10/16
- Re: image size limit?, Chong Yidong, 2005/10/16
- Re: image size limit?,
Richard M. Stallman <=
- Re: image size limit?, Chong Yidong, 2005/10/17
- Re: image size limit?, Richard M. Stallman, 2005/10/17
- Re: image size limit?, Stefan Monnier, 2005/10/18
- Re: image size limit?, Kim F. Storm, 2005/10/19
- Re: image size limit?, David Kastrup, 2005/10/19
- Re: image size limit?, Chong Yidong, 2005/10/19
- Re: image size limit?, Richard M. Stallman, 2005/10/19
- Re: image size limit?, Kim F. Storm, 2005/10/19
- Re: image size limit?, Richard M. Stallman, 2005/10/19
- Re: image size limit?, Kim F. Storm, 2005/10/19