Problem with X and JPEG2000 images
szukw000
szukw000 at arcor.de
Fri Jan 1 13:37:58 UTC 2021
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)
(...)
XRequest.138: BadDrawable (invalid Pixmap or Window parameter) 0x120404e
XRequest.138: RenderBadPicture (invalid Picture parameter) 0x120ef49
XRequest.138: RenderBadPicture (invalid Picture parameter) 0x120ef49
But when I limit the width and/or the height of the image, it is shown:
#define MAX_ROW_COL 32500
ESP_028011_2055_RED.JP2(28260 x 52834) (rescaled: 28260 x 32500)
Changing the parameters of x,y,w,h to long or float or double perhaps
would help with large images.
The limitation is with X only. WIN10 does not need a limitation.
winfried
More information about the xorg
mailing list