Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creation failure with tileparts=resolution and precincts value #1466

Open
rouault opened this issue May 8, 2023 · 0 comments
Open

creation failure with tileparts=resolution and precincts value #1466

rouault opened this issue May 8, 2023 · 0 comments

Comments

@rouault
Copy link
Collaborator

rouault commented May 8, 2023

Created from OSGeo/gdal#7713

Given la.tif in https://drive.google.com/file/d/1w2w7Q_zaSjYu4AlKCQ0NVuM4E1QDAWjt/view?usp=share_link

$ gdal_translate la.tif tmp.tif
$ opj_compress -I -t 1024,1024 -n 4 -TP R -i tmp.tif -o output.j2k -c  "[512,512],[256,512],[256,512],[128,512],[64,512],[32,512],[16,512],[8,512],[4,512],[2,512]"

TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34737 (0x87b1) encountered.
[INFO] tile number 1 / 16
[ERROR] opj_t2_encode_packet(): accessing precno=1 >= 1
[ERROR] Cannot encode tile
failed to encode image: opj_encode
failed to encode image: opj_end_compress
failed to encode image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant