Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Is there any way to search for pdfs containing jpeg-2000?

Many pdfs contain jpeg-2000/jpx/j2k images. My Mac can read them, but my Kindle can't read them. (Due to my coordination problems, I can't use the new touch Kindles or any touch devices.) I've got a couple ways to convert these pdfs to Kindle-readable pdfs, but that takes take time and a lot of space, so I'd rather know which ones will require conversion, and which ones won't.


Any suggestions?

MacBook Air (11-inch Mid 2013), macOS Sierra (10.12.6)

Posted on

Reply
Question marked as Solved
Answer:
Answer:

EasyFind – Spotlight Replacement

Posted on

Question marked as Helpful

Nov 16, 2017 6:32 PM in response to Marja E In response to Marja E

Using information gleaned here: https://blog.idrsolutions.com/2010/04/understanding-the-pdf-file-format-how-are- images-stored/

You can use a text editor to open each pdf and search for "JPXDecode"


Bbedit (free*) can do a multi-File search on that term, and it will list the files that contain JPEG2000 image data.


*The full BBEdit is a paid program, but it will just remove some features if you don't license it.

BareBones used to offer TextWrangler as their free version, but have switched to a single program with a paid and free option in the same app.

There’s more to the conversation

Read all replies

Page content loaded

Nov 15, 2017 8:43 AM in response to Marja E In response to Marja E

Other options would include a pdf-reader, on the Mac, that can't handle jpeg-200 images, or a K2 emulator, on the Mac...

Nov 15, 2017 8:43 AM

Reply Helpful

Nov 15, 2017 5:20 PM in response to Marja E In response to Marja E

verapdf should be able to do it, but it requires a java developers' kit; none of my other applications would need that, so I'm not sure about installing it.

Nov 15, 2017 5:20 PM

Reply Helpful

Nov 15, 2017 8:57 PM in response to Marja E In response to Marja E

Installed Java, tested veraPDF, found it didn't provide enough detail, uninstalled both. Now testing the demo of PDF Checkpoint.

Nov 15, 2017 8:57 PM

Reply Helpful
Question marked as Helpful

Nov 16, 2017 6:32 PM in response to Marja E In response to Marja E

Using information gleaned here: https://blog.idrsolutions.com/2010/04/understanding-the-pdf-file-format-how-are- images-stored/

You can use a text editor to open each pdf and search for "JPXDecode"


Bbedit (free*) can do a multi-File search on that term, and it will list the files that contain JPEG2000 image data.


*The full BBEdit is a paid program, but it will just remove some features if you don't license it.

BareBones used to offer TextWrangler as their free version, but have switched to a single program with a paid and free option in the same app.

Nov 16, 2017 6:32 PM

Reply Helpful (1)

Nov 16, 2017 6:36 PM in response to Barney-15E In response to Barney-15E

Thank you. I tried TextWrangler/BBEdit, but I couldn't stop the blinking cursor, or stop the window scrolling, when I'd found what I was scrolling to... and lost it as the window kept scrolling and scrolling and scrolling.

Nov 16, 2017 6:36 PM

Reply Helpful

Nov 16, 2017 8:12 PM in response to Marja E In response to Marja E

You can disable BBEdit from opening a new document when you start the app, so that would eliminate the cursor on the new document--Preferences, Application, "When BBEdit becomes Active" → Do Nothing.

However, the search field still blinks.


You can wrap the search in an Automator Service which will just open the results when completed so you don't have to interact with the search input box. But, I imagine the result window will still scroll.


If you think this will help,

Create a new Service in Automator.

Have it receive selected files or folders in Finder (or PDF Files -- likely better since that is the only valid file type).

Drag in a "Run Applescript" action from the Utilities Library.

Change the script to this:

on run {input, parameters}

tell application "BBEdit"

find "JPXDecode" searching in (items of input) with showing results without text files only

end tell

end run

Save the service with a useful name like, "Find JPX PDFs"

In the Finder, right-click (or ctrl-click) on a folder with your PDFs and choose your service from the Services menu.


If you use PDF files for the "Service receives" target, you could just select a short list of files to check to prevent the search results from scrolling.


I would imagine other text editors might offer multi-file search. If you have one that works for you, maybe try using it to search for that term.


Also, I would think this might be possible using the Terminal. Maybe one of the Unix gurus could offer another solution using the Terminal.

Nov 16, 2017 8:12 PM

Reply Helpful

Nov 16, 2017 8:14 PM in response to Marja E In response to Marja E

Marja E wrote:


I reinstalled BBEdit for the time being. It can search individual files, but it fails on a multi-file search including the same files.

Oops, I may have forgotten this. In the search "Options," make sure to select All File Types.

Nov 16, 2017 8:14 PM

Reply Helpful
User profile for user: Marja E

Question: Is there any way to search for pdfs containing jpeg-2000?