PNG files not working properly in 64 bit mode

Jan 22, 2014 at 3:16pm

PNG files not working properly in 64 bit mode

Weird problem. Loading in PNG files without “start in 32 bit mode” option enabled on OSX creates a heavily artifact-ed image. This is a problem because I have the opposite problem with jit.qt.grab, which is that it only works in 64 bit mode. Any ideas?

latest version of max, osx 10.8

#278895
Jan 22, 2014 at 3:50pm

What objects are you using to load the PNG files?

#278896
Jan 22, 2014 at 4:05pm

I’ve tried importmovie on a matrix and also a simple qt.movie, same results.

<code>

– Pasted Max Patch, click to expand. –

</code>

Looks like the attached file.

Attachments:
  1. Screen-Shot-2014-01-22-at-7.04.12-PM
#278897
Jan 22, 2014 at 4:28pm

I can confirm that there are some issues with .png files only on Window x64. We will take a closer look, thanks!

-Ben

#278900
Jan 22, 2014 at 4:29pm

Odd. Within minutes of replying to this thread I had the same happen on my system… except it’s not happening to all PNG files. Only some of them. Do you have the same problem with both of the attached pics or just one of them…?

Attachments:
  1. colorchecker
  2. koi
#278901
Jan 22, 2014 at 5:09pm

Ben, this is also happening on Mac osx 10.8.5 .. but it only seems to be affecting certain PNGs. The colorchecker image I attached in the previous post doesn’t decode properly with jit.qt.movie while the koi image decodes just fine.

Attachments:
  1. scanline_error
#278905
Jan 22, 2014 at 5:53pm

Correction: by 10.8 I meant the latest version of 10.8, which as you report is 10.8.5

Also, Metamax, I am having the same experiences with those PNG files. I tried several different formats but couldn’t make my own PNG files behave. The Koi works fine.

So glad it isn’t my computer!

#278908
Jan 22, 2014 at 6:34pm

Well that’s just it.. the koi pic is a PNG file… I think there are different PNG encoding methods that process rows of pixels differently. Most of the PNGs I have been using work fine.. so you might consider reprocessing your images with a different editor to see of you can get a version that works in qt.. until it’s fixed.

#278910
Jan 22, 2014 at 6:53pm

What I mean is that I did try several methods, to no avail! Both in PShop and Preview. Weird. Also, PNG files generated via Processing are not showing up well :( Hopefully this is a bug that Cycling will fix soon?

#278911
Jan 22, 2014 at 7:30pm

This may or may not be helpful for your project but QT can read the PNG properly if the image has square dimensions. All of the images in my current project are square so I didn’t notice a problem.. except the colorchecker image is 300×200.. so it didn’t decode properly. As soon as I resized it to 300×300 it displayed properly.

#278913
Jan 23, 2014 at 12:39pm

Good tip, thank you!

#278984

You must be logged in to reply to this topic.