JPEG 2000 / XL viewer for DOS (Users)
> Did you have any luck with (cross) compiling a DJGPP binary of v.1.5?
Yes. But, sigh, after all effort that crap just crashes :(
C:\openjpeg\APPLIC~1\codec>j2k_to_image.exe -i sample.j2k -o sample.bmp
[INFO] tile 1 of 1
realloc: memory fouled
Exiting due to signal SIGABRT
Raised at eip=00034695
eax=000cca94 ebx=00000120 ecx=00000000 edx=00000000 esi=0000360c edi=000e09b0
ebp=00003610 esp=000cca80 program=C:\OPENJPEG\APPLIC~1\CODEC\J2K_TO~1.EXE
cs: sel=01a7 base=029f0000 limit=000effff
ds: sel=01af base=029f0000 limit=000effff
es: sel=01af base=029f0000 limit=000effff
fs: sel=017f base=000067f0 limit=0000ffff
gs: sel=01bf base=00000000 limit=0010ffff
ss: sel=01af base=029f0000 limit=000effff
App stack: [000cfe78..0004fe78] Exceptn stack: [0004fdb4..0004de74]
Call frame traceback EIPs:
0x00034695
It fails somewhere in function j2k_decode, in the for loop, states before crash:
>dbg j2k.state: 01h
>dbg j2k.state: 02h
>dbg j2k.state: 04h
>dbg j2k.state: 04h
>dbg j2k.state: 04h
>dbg j2k.state: 04h
>dbg j2k.state: 10h
>dbg j2k.state: 08h
[INFO] tile 1 of 1
typedef enum J2K_STATUS {
J2K_STATE_MHSOC = 0x0001, /**< a SOC marker is expected */
J2K_STATE_MHSIZ = 0x0002, /**< a SIZ marker is expected */
J2K_STATE_MH = 0x0004, /**< the decoding process is in the main header */
J2K_STATE_TPHSOT = 0x0008, /**< the decoding process is in a tile part header and expects a SOT marker */
J2K_STATE_TPH = 0x0010, /**< the decoding process is in a tile part header */
J2K_STATE_MT = 0x0020, /**< the EOC marker has just been read */
J2K_STATE_NEOC = 0x0040, /**< the decoding process must not expect a EOC marker because the codestream is truncated */
J2K_STATE_ERR = 0x0080 /**< the decoding process has encountered an error */
} J2K_STATUS;
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- JPEG 2000 / XL viewer for DOS - Zyzzle, 03.09.2023, 23:03
- JPEG 2000 / XL viewer for DOS - bocke, 04.09.2023, 00:30
- JPEG 2000 / XL viewer for DOS - Zyzzle, 04.09.2023, 03:12
- JPEG 2000 / XL viewer for DOS - Laaca, 04.09.2023, 10:57
- JPEG 2000 / XL viewer for DOS - Zyzzle, 05.09.2023, 22:25
- JPEG 2000 / XL viewer for DOS - Doug, 06.09.2023, 09:44
- JPEG 2000 / XL viewer for DOS - Zyzzle, 05.09.2023, 22:25
- JPEG 2000 / XL viewer for DOS - Laaca, 04.09.2023, 10:57
- JPEG 2000 / XL viewer for DOS - Zyzzle, 04.09.2023, 03:12
- JPEG 2000 / XL viewer for DOS - Rugxulo, 04.09.2023, 05:33
- JPEG 2000 / XL viewer for DOS - RayeR, 05.09.2023, 05:23
- JPEG 2000 / XL viewer for DOS - Zyzzle, 05.09.2023, 22:33
- JPEG 2000 / XL viewer for DOS - Laaca, 05.09.2023, 22:56
- JPEG 2000 / XL viewer for DOS - RayeR, 06.09.2023, 19:11
- JPEG 2000 / XL viewer for DOS - Zyzzle, 07.09.2023, 01:40
- JPEG 2000 / XL viewer for DOS - RayeR, 07.09.2023, 03:06
- JPEG 2000 / XL viewer for DOS - RayeR, 07.09.2023, 03:20
- JPEG 2000 / XL viewer for DOS - Laaca, 07.09.2023, 11:59
- JPEG 2000 / XL viewer for DOS - RayeR, 07.09.2023, 13:52
- JPEG 2000 / XL viewer for DOS - Khusraw, 07.09.2023, 22:05
- JPEG 2000 / XL viewer for DOS - Zyzzle, 08.09.2023, 09:54
- JPEG 2000 / XL viewer for DOS - Khusraw, 08.09.2023, 10:26
- JPEG 2000 / XL viewer for DOS - Zyzzle, 09.09.2023, 08:25
- JPEG 2000 / XL viewer for DOS - Khusraw, 09.09.2023, 20:03
- JPEG 2000 / XL viewer for DOS - Zyzzle, 09.09.2023, 22:30
- JPEG 2000 / XL viewer for DOS - Laaca, 10.09.2023, 16:40
- JPEG 2000 / XL viewer for DOS - Khusraw, 10.09.2023, 19:49
- JPEG 2000 / XL viewer for DOS - Zyzzle, 10.09.2023, 21:35
- JPEG 2000 / XL viewer for DOS - Khusraw, 10.09.2023, 22:01
- JPEG 2000 / XL viewer for DOS - Laaca, 10.09.2023, 22:22
- JPEG 2000 / XL viewer for DOS - Khusraw, 10.09.2023, 22:52
- JPEG 2000 / XL viewer for DOS - Laaca, 10.09.2023, 22:22
- JPEG 2000 / XL viewer for DOS - Khusraw, 10.09.2023, 22:01
- JPEG 2000 / XL viewer for DOS - Zyzzle, 10.09.2023, 21:35
- JPEG 2000 / XL viewer for DOS - Khusraw, 10.09.2023, 19:49
- JPEG 2000 / XL viewer for DOS - RayeR, 12.09.2023, 03:51
- JPEG 2000 / XL viewer for DOS - RayeR, 12.09.2023, 04:14
- JPEG 2000 / XL viewer for DOS - Rugxulo, 12.09.2023, 05:17
- JPEG 2000 / XL viewer for DOS - RayeR, 12.09.2023, 05:52
- JPEG 2000 / XL viewer for DOS - Rugxulo, 12.09.2023, 06:06
- JPEG 2000 / XL viewer for DOS - Laaca, 12.09.2023, 06:17
- JPEG 2000 / XL viewer for DOS - Zyzzle, 12.09.2023, 10:04
- JPEG 2000 / XL viewer for DOS - RayeR, 12.09.2023, 13:32
- JPEG 2000 / XL viewer for DOS - Rugxulo, 12.09.2023, 06:06
- JPEG 2000 / XL viewer for DOS - RayeR, 12.09.2023, 05:52
- JPEG 2000 / XL viewer for DOS - Khusraw, 12.09.2023, 12:03
- JPEG 2000 / XL viewer for DOS - Rugxulo, 12.09.2023, 05:17
- JPEG 2000 / XL viewer for DOS - RayeR, 12.09.2023, 04:14
- JPEG 2000 / XL viewer for DOS - Khusraw, 09.09.2023, 20:03
- JPEG 2000 / XL viewer for DOS - Zyzzle, 09.09.2023, 08:25
- JPEG 2000 / XL viewer for DOS - Khusraw, 08.09.2023, 10:26
- JPEG 2000 / XL viewer for DOS - Zyzzle, 08.09.2023, 09:54
- JPEG 2000 / XL viewer for DOS - Khusraw, 07.09.2023, 22:05
- JPEG 2000 / XL viewer for DOS - RayeR, 07.09.2023, 13:52
- JPEG 2000 / XL viewer for DOS - Laaca, 07.09.2023, 11:59
- JPEG 2000 / XL viewer for DOS - RayeR, 07.09.2023, 03:20
- JPEG 2000 / XL viewer for DOS - RayeR, 07.09.2023, 03:06
- JPEG 2000 / XL viewer for DOS - Zyzzle, 07.09.2023, 01:40
- JPEG 2000 / XL viewer for DOS - RayeR, 06.09.2023, 19:11
- JPEG 2000 / XL viewer for DOS - Laaca, 05.09.2023, 22:56
- JPEG 2000 / XL viewer for DOS - Zyzzle, 05.09.2023, 22:33
- JPEG 2000 / XL viewer for DOS - bocke, 04.09.2023, 00:30