Looks like no one’s replied in a while. To start the conversation again, simply ask a new 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 Nov 15, 2017 8:40 AM

Reply
Question marked as Best reply

Posted on Nov 16, 2017 8:20 AM

EasyFind – Spotlight Replacement

15 replies

Nov 16, 2017 6:32 PM 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 8:12 PM 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.

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

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.