Previous topicNext topic

jpegFolder not showing OSX-Preview processed images

Questions, comments, feedback, etc.
Post Reply
virionfritz
Posts: 4
Joined: Fri Jan 25, 2019 6:10 pm

jpegFolder not showing OSX-Preview processed images

Post by virionfritz »

Great Program ! I am enjoying exploring all the possibilities. Being able to bring in Blender 3D is brilliant.

Mac Pro 10.11.6 Magic v2.21

I am having an odd problem with jpegFolder media tool. JPEG images from my camera, exported from Photos, and images download from the internet, work fine. If I open any image with Preview (which is my usual work flow) they no longer appear in the jpegFolder tool but just a black screen for that image; images untouched by Preview still appear. I can see no difference in the files.

Admins-Mac-Pro:~ fritz$ file ~/desktop/pix2/doesnot.jpeg
/Users/fritz/desktop/pix2/doesnot.jpeg: JPEG image data, JFIF standard 1.01
Admins-Mac-Pro:~ fritz$ file ~/desktop/pix2/works.jpg
/Users/fritz/desktop/pix2/works.jpg: JPEG image data, JFIF standard 1.01
Admins-Mac-Pro:~ fritz$

Any suggestions would be appreciated.

Cheers
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: jpegFolder not showing OSX-Preview processed images

Post by Magic »

Can you please upload the jpegs as an attachment or post links so I can download and test them?
virionfritz
Posts: 4
Joined: Fri Jan 25, 2019 6:10 pm

Re: jpegFolder not showing OSX-Preview processed images

Post by virionfritz »

Here is a link to the 3 examples: Works out of Photo, works right from Camera, and does not work after handled by Preview.

https://www.fritzherold.com/tools/index ... nE5oDxmjjX

And all images work and processed by Preview through Media and Images just not JpegFolder. I initially tried different locations and folders to finally note the apparent relationship to the being processed by OSX Preview. Simply Odd?

Cheers
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: jpegFolder not showing OSX-Preview processed images

Post by Sadler »

Every program I've tried on Windows can view the image including the image module in Magic but I can confirm that the image in question doesn't work for me either in the jpeg folder module. The only thing I can see that is different between this file and other jpgs is that it doesn't seem to have chroma subsampling present in all other images. When re-encoded from another program it has chroma subsampling and also displays in the jpeg folder module.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: jpegFolder not showing OSX-Preview processed images

Post by Magic »

Ok, I looked into this, and the images that do not work have 4:4:0 chroma subsampling. The JpegFolder module is a highly specialized module for hardware-accelerated decompression of Jpegs, and 4:4:0 cannot be fully hardware accelerated.

The images that do work have 4:2:0 chroma subsampling, which is generally considered the standard.

So unfortunately there's nothing that can be done. It's best not to think of the JpegFolder module as a general-purpose Jpeg viewer. For that, the Image module can be used.

An important question is, why does OSX Preview re-save the images? If it's just an image viewer, it shouldn't. Perhaps there is a setting that can be changed.
virionfritz
Posts: 4
Joined: Fri Jan 25, 2019 6:10 pm

Re: jpegFolder not showing OSX-Preview processed images

Post by virionfritz »

Thank You for the support and heads up, I do appreciate it. I use OSX Preview to do final resizing and colour matching for a bunch of images in batch; but I will dig into why it would make that change to the images.

And again that you for a super tool I'm having lots of fun with.

Cheers
virionfritz
Posts: 4
Joined: Fri Jan 25, 2019 6:10 pm

Re: jpegFolder not showing OSX-Preview processed images

Post by virionfritz »

An FYI for anyone needing to adjust Chroma subsampling ratios of individual or patch jpeg images: GIMP in the export to Jpeg under advanced setting allows you to change the ratios.

I have been unable to find out why OSX Preview viewer/editor sets all jpegs to 4:4:0 and where to set another default.

Cheers
Post Reply