umlaeute/Gem

pix_data-help.pd not opening picture/jpg

Closed this issue · 3 comments

jbp5 commented

I am using a MacBook Pro, Graphics AMD Radeon Pro 5300M 4 GB
Intel UHD Graphics 630 1536 MB, Ventura 13.6.1
PD version 0.54.1
Whenever I try to run the pix-data-help.pd object the picture will not open. I am not receiving any error messages in the console when this happens. I have included the read out from the Terminal app. It appears that it can't find /Library/Pd/gem.conf: No such file or directory. This evening 1/15/24 I uploaded the newest version of GEM so am wondering if that may be part of the problem.

TERMINAL Text when using Pix_data object in pd

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MUS-S28624:~ jbp5$ /Applications/Pd-0.54-1.app/Contents/Resources/bin/pd ; exit;
open: /Library/Pd/gem.conf: No such file or directory
open: /Users/jbp5/Library/Pd/gem.conf: No such file or directory
open: ./gem.conf: No such file or directory
load plugins 'film' in '/Users/jbp5/Library/Pd/Gem/'
pattern : /Users/jbp5/Library/Pd/Gem/gem_film*.so
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_filmAVF.so'!
load plugins 'image' in '/Users/jbp5/Library/Pd/Gem/'
pattern : /Users/jbp5/Library/Pd/Gem/gem_image*.so
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_imageIO.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_imageSGI.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_imageSTB.so'!
not reloading 'image' plugins (already 3 loaded)
load plugins 'image' in '/Users/jbp5/Library/Pd/Gem/'
pattern : /Users/jbp5/Library/Pd/Gem/gem_image*.so
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_imageIO.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_imageSGI.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_imageSTB.so'!
load plugins 'model' in '/Users/jbp5/Library/Pd/Gem/'
pattern : /Users/jbp5/Library/Pd/Gem/gem_model*.so
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_modelASSIMP3.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_modelOBJ.so'!
load plugins 'record' in '/Users/jbp5/Library/Pd/Gem/'
pattern : /Users/jbp5/Library/Pd/Gem/gem_record*.so
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_recordDECKLINK.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_recordNDI.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_recordPNM.so'!
load plugins 'video' in '/Users/jbp5/Library/Pd/Gem/'
pattern : /Users/jbp5/Library/Pd/Gem/gem_video*.so
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_videoAVF.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_videoDECKLINK.so'!
dylib loading file '/Users/jbp5/Library/Pd/Gem/gem_videoNDI.so'!
not reloading 'image' plugins (already 3 loaded)
objc[6212]: Class GLFWApplicationDelegate is implemented in both /Users/jbp5/Documents/Pd/externals/ofelia/ofelia.pd_darwin (0x10b72a5e0) and /Users/jbp5/Library/Pd/Gem/libglfw.3.dylib (0x10a4cbf60). One of the two will be used. Which one is undefined.
objc[6212]: Class GLFWWindowDelegate is implemented in both /Users/jbp5/Documents/Pd/externals/ofelia/ofelia.pd_darwin (0x10b72a568) and /Users/jbp5/Library/Pd/Gem/libglfw.3.dylib (0x10a4cbf88). One of the two will be used. Which one is undefined.
objc[6212]: Class GLFWContentView is implemented in both /Users/jbp5/Documents/Pd/externals/ofelia/ofelia.pd_darwin (0x10b72a608) and /Users/jbp5/Library/Pd/Gem/libglfw.3.dylib (0x10a4cbfd8). One of the two will be used. Which one is undefined.
objc[6212]: Class GLFWWindow is implemented in both /Users/jbp5/Documents/Pd/externals/ofelia/ofelia.pd_darwin (0x10b72a680) and /Users/jbp5/Library/Pd/Gem/libglfw.3.dylib (0x10a4cc050). One of the two will be used. Which one is undefined.
2024-01-16 00:03:09.053 Pd[6213:60741] +[CATransaction synchronize] called within transaction
2024-01-16 00:03:09.256 Pd[6213:60741] +[CATransaction synchronize] called within transaction
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...

[pix_data] works here under macOS.
The object is a bit special, it doesn't output any rendering or pixel data... the first outlet is inactive.
To show the image you need to use a pix_texture and geo from the pix_image...

It would be nice to follow the other objects and activate an output from the first outlet thought.

i think [pix_data]s interface is broken beyond repair.

personally, i would prefer something like:

(gemlist)
|
| [0.5 0.5(
|/
[pix_data]
|        |
|        [print color]
|
(gemlist)

of course we cannot change [pix_data] without breaking every use of it.
so probably we just need a new object and implement the legacy [pix_data] on top of that.

jbp5 commented