Re: Problem with X and JPEG2000 images

2021-01-01 Thread Ilya Anfimov
On Fri, Jan 01, 2021 at 10:12:13AM -0800, Alan Coopersmith wrote: > On 1/1/21 5:37 AM, szukw000 wrote: > > I use fltk-1.4 . Large images are not shown with LINUX: > > > > image size: 811 792 452 Byte > > > > ESP_028011_2055_RED.JP2(28260 x 52834) > > The X11 coordinate space is defined as signed

Re: Problem with X and JPEG2000 images

2021-01-01 Thread Dave Howorth
On Fri, 1 Jan 2021 20:14:45 + Carsten Haitzler wrote: > On Fri, 1 Jan 2021 14:37:58 +0100 szukw000 said: > > As Alan said - there are limits on X primitives and coordinates > (16bit). Winfried I think what both Alan and Carsten are pointing out is that this is a bug in fltk and not in X.

Re: Problem with X and JPEG2000 images

2021-01-01 Thread Carsten Haitzler
On Fri, 1 Jan 2021 14:37:58 +0100 szukw000 said: As Alan said - there are limits on X primitives and coordinates (16bit). The solution to this is to not use windows or pixmaps > 32767 in size in any dimension. Instead just draw a sub-region of the image to the target window or pixmap (divide the

Re: Problem with X and JPEG2000 images

2021-01-01 Thread Alan Coopersmith
On 1/1/21 5:37 AM, szukw000 wrote: I use fltk-1.4 . Large images are not shown with LINUX: image size: 811 792 452 Byte ESP_028011_2055_RED.JP2(28260 x 52834) The X11 coordinate space is defined as signed 16-bit numbers, so maxes out at 32767. This is deeply embedded in the X11 protocol, and