Note that you don't need the _z_ on the name unless you have defined
your own jpath.

This should work just fine:

   readjpeg jpath '~/Path/to/image.jpg'

Thanks,

-- 
Raul


On Fri, Sep 4, 2015 at 11:51 PM, Jon Hough <[email protected]> wrote:
> Thanks,
>
> readjpeg jpath_z_ '~/Path/to/image.jpg'
>
>
> works.
>
>
>
>> From: [email protected]
>> Date: Fri, 4 Sep 2015 23:37:31 -0400
>> To: [email protected]
>> Subject: Re: [Jprogramming] Read JPEG files with graphics addon
>>
>> Have you tried applying the verb jpath_z_ to the filenames before passing 
>> them to readjpeg ?
>>
>> J system libraries often implicitly apply jpath, but that isn’t necessarily 
>> true of Addons or other codebases.
>>
>> Also bear in mind that when you say ‘~’ in J, it is J and its libraries 
>> which are expanding it, not bash.  In fact, ‘~’ can and often does mean 
>> something completely different in J than it does in the shell.
>>
>> -Dan
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to