osamu620 / OpenHTJ2K

An open source implementation of ITU-T Rec.814 | ISO 15444-15 (a.k.a. HTJ2K).
BSD 3-Clause "New" or "Revised" License
36 stars 10 forks source link

Why can I not use capital letters in photo names? #125

Closed Jamaika1 closed 1 year ago

Jamaika1 commented 2 years ago

htj2k-cjhc.exe -i Stationery.ppm -o image_21447_24bit-jhc.j2c Stiles={1000,750} Clevels=3 Cblk={64,64} Cprecincts={128,128},{256,256} Corder=CPRL Creversible=yes

ERROR: unknown parameter Stationery.ppm
osamu620 commented 2 years ago

@Jamaika1 Thanks for pointing this issue out. I've checked the code and found that files that begin from capital 'S' or 'C' are not recognized as names for the inputs. This problem comes from my silly command-line parser. I'll fix this problem when I have time.

Jamaika1 commented 2 years ago

Test https://github.com/osamu620/OpenHTJ2K/commit/e0417dd41a8cf5721f0af649bcf7bef30c2aa861 NOSIMD There is still an error despite adding the parentheses. ERROR: unknown parameter Stationery.ppm

osamu620 commented 2 years ago

Test e0417dd NOSIMD There is still an error despite adding the parentheses. ERROR: unknown parameter Stationery.ppm

Could you please check this again with the latest main branch? (I have fixed a potential bug, but I think it is not related to this problem...