You are right, claude. I'm not sure, but I think the pd-deken's <gem_image*> files are broken. [pix_image] loads PNG after replacing broken deken's(~/pd-externals/Gem) folder with pd-extended's(/usr/lib/pd-extended/Gem). Pd-Deken's doesn't work, but Pd-extended's Gem works properly.

best,
jonghyun

On Sun, Feb 21, 2016 at 1:21 AM, Jonghyun Kim <agitato816@gmail.com> wrote:
thanks for your time, claude. this can be a clue. I'll report again when I have another clue.

best,
jonghyun

On Sun, Feb 21, 2016 at 1:08 AM, Claude Heiland-Allen <claude@mathr.co.uk> wrote:
Thanks for the additional information.

On 20/02/16 15:51, Jonghyun Kim wrote:
Sure I already restarted Pd. I compiled Pd(0.46-7) myself, and Gem is
installed by Pd-DEKEN(https://github.com/pure-data/deken). Here is my
information.

Installed Pd ver on my ubuntu 14.04-3
Pd-0.46-7 (compiled myself)
Pd-0.45-4 (by Ubuntu Repo)
Pd-extended 0.43.4 (manually installed by .deb)
Pd-l2ork 20151230 (manually installed by .deb)
Result with Pd-0.46-7 (compiled myself)
1. $ which pd
/usr/local/bin/pd

2. $ pd -stderr -verbose your-patch.pd 2>log.txt
attatched


The log contains:

verbose(6): backend 'magick' unavailable

As far as I can tell, this means it detected ImageMagick plugin, but couldn't proceed - I don't know why, and the code is a maze of twisty plugin factories that I don't yet understand.  Maybe one of the GEM devs can help you debug this - it might be a problem with how it is packaged in Deken, or a missing library dependency on your system, or something else.

Sorry, and good luck,


Claude



many thanks,
jonghyun



On Sun, Feb 21, 2016 at 12:31 AM, Claude Heiland-Allen <claude@mathr.co.uk>
wrote:

You have to restart Pd for GEM to notice the new plugins.  If you did that
already, maybe there is a conflict between self-compiled Pd GEM and
system-installed Pd GEM?  Please send more information:

$ which pd                                     # should be /usr/bin/pd
$ pd -stderr -verbose your-patch.pd 2>log.txt  # attach log.txt to mail



On 20/02/16 15:20, Jonghyun Kim wrote:

thanks claude, I installed it by "sudo apt-get install gem-plugin-magick",
but it still can't load PNG. Pd says same as before: only "Image loading
support: SGI jpeg". how to solve it?

thanks,
jonghyun


On Sun, Feb 21, 2016 at 12:05 AM, Claude Heiland-Allen <
claude@mathr.co.uk>
wrote:

On 20/02/16 14:49, Jonghyun Kim wrote:

on ubuntu 14.04 linux, [pix_image] handles only JPEG files. No PNG, No
others. How to load PNG or TIFF files? when I make [pix_image], Pd says
"Image loading support: SGI jpeg"

FYI, on Mac OS X, it handles PNG files, but on linux doesn't. Why
linux can't do that?


Linux can do that, don't worry.  GEM uses a plugin system for image
loaders/savers - probably GEM is distributed with them split out into
multiple packages. Try:

$ aptitude search gem-plugin-

which lists many available to my Debian system, not all of which I have
installed.  I think gem-plugin-magick should be enough to load PNG and
other common formats.


Claude
--
http://mathr.co.uk


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list




_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list




_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list