jrochkind
  • Joined on
Loading Heatmap…

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Thank you, makes sense! I was using the `vips` tool intending to convert a TIFF to a .JP2, and the invocation I used normally outputs a .JP2, but in this case output a raw JPEG2000 stream -- at…

9 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

> It turns out, that this is a file without the jp2 metadata around it but just a raw jpeg2000 bitstream wow, thanks for the quick diagnosis. That is interesting, because it was definitely…

9 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Oh wow, I actually hadn't noticed that original was 16 bits per pixel either. That is also not normally what we intend. But when you have 100k plus digitizations of historical material done by…

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Thanks @josch! We are not live yet using img2pdf. But plan to use img2pdf to help power our PDF downloads at https://digital.sciencehistory.org. I am trying to use an unreleased git copy of…

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Thanks @josch! I didn't mean to pressure or anything, just plain curious about your plans, since I'm unfamiliar with this project's release procedure! I am sorry the tests are giving you…

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Actually, I figured it out. And have verified it produced output pdf that looks right, without error! Awesome! ``` pip3 install image python3 src/img2pdf.py jp2-with-alpha.jp2 -o…

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

I'm sorry, I'm not trying to get basic python getting started help from you, but when I try running the patched img2pdf directly from clone, I get: ``` Traceback (most recent call last): …

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Thank you! I'm not much of a pythonista, nor am I used to dealing with patch files, it may take me a bit of time to figure out how to apply the patch locally. I'm on leave tomorrow, but…

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Yes, after downloading the attachment above, it does still reproduce for me. ``` jrochkind-shi scihist_digicoll (master ?) $ img2pdf --version img2pdf 0.4.4 jrochkind-shi scihist_digicoll…

10 months ago

jrochkind commented on issue josch/img2pdf#173

alpha channel and jp2

Ooh, that's way better response than I hoped, I thought I was seeing expected behavior! I'm glad I filed it, I almost didn't file it, worried I was being annoying! Thank you so much for your quick…

10 months ago

jrochkind opened issue josch/img2pdf#173

alpha channel and jp2

10 months ago