Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3976266
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:47:03+00:00 2026-05-20T04:47:03+00:00

I am currently parsing a PDF file using iText, and I encountered an image

  • 0

I am currently parsing a PDF file using iText, and I encountered an image format which is not supported:

com.itextpdf.text.exceptions.UnsupportedPdfException: The filter /JPXDecode is not supported.

It seems that the information in the raw byte array is JPEG data, without the header information, as the file command line utility indicates:

83.jpg: JPEG 2000 image data

My first idea would be to simple add the header metadata to these files, but I simply don’t know how.

How can I add the header metadata to a raw piece of JPEG 2000 data ? A solution using iText would work as well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:47:03+00:00Added an answer on May 20, 2026 at 4:47 am

    The PDF spec (Section 7.4.9 JPXDecode Filter) seems to imply that the byte array is already a fully fledged JPEG2000 file. Have you tried just saving the byte array out to file with .jp2 or jpx extension?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently parsing an XML file that resides in my bundle using NSXMLParser with
I am currently parsing an XML file to get a coordinate value using the
I currently have a csv file that I'm parsing with an example from here:
How can I know during parsing which rule is currently matched? I'd like to
I'm currently passing some date-time info to a web page using url parameters, which
I am stuck with parsing a PDF file. Please guide me how to do
im currently parsing an xml file that is hosted on another PC via hosting
I'm currently retrieving and parsing pages from a website using urllib2 . However, there
I'm currently using JDOM for doing some simple XML parsing, and it seems like
I am Parsing XML currently using: $data = simplexml_load_string($xmlFile); foreach($data->item as $key => $current){

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.