When I start a j805 jconsole on Windows 7, then load 'ide/qt/qtlib' I can successfully read and write png files using readimg_jqtide_ and writeimg_jqtide_, but if I try and read a jpeg image file, I also get an empty matrix of shape 0 0 that Devon reports above.
load 'ide/qt/qtlib' $readimg_jqtide_ jpath '~temp/toucan.png' 144 200 $readimg_jqtide_ jpath '~temp/toucan.jpg' 0 0 JVERSION Engine: j805/j64/windows Release: commercial/2016-12-11T08:02:16 Library: 8.05.14 Platform: Win 64 Installer: J805 install InstallPath: c:/program files/j64-805 Contact: www.jsoftware.com On Wed, May 10, 2017 at 8:17 AM, Devon McCormick <[email protected]> wrote: > Now the mystery deepens: despairing of figuring out what I'd done > previously to "fix" J (allow it to load the JQt image libraries even when > running from jconsole), I installed J 8.04 on my new machine in preparation > of diff'ing it against my customized version but, to my surprise, the image > library works fine under jconsole in 8.04 without me changing anything. It > still fails under J 8.05. > > This was a fresh install, downloaded from Jsoftware.com, so the only > customization remaining would be in my own startup scripts, the same ones > that run under J 8.05. > > In any case, I can continue my work under J 8.04. > > On Mon, Mar 13, 2017 at 2:31 AM, Devon McCormick <[email protected]> > wrote: > > > OK - I'm using Windows 7 on AMD on this new machine - it may be something > > to do with this configuration. > > > > On Sun, Mar 12, 2017 at 10:37 PM, bill lam <[email protected]> wrote: > > > >> There is no recent changes in wdreadimg or jqt binaries. > >> I tested readimg under jconsole worked ok on linux64. > >> > >> Вс, 12 мар 2017, Devon McCormick написал(а): > >> > OK - but now I find that the underlying DLL call to "wdreadimg" gives > >> me a > >> > 0 0 matrix result. However, this is a new PC, so I'm not sure there > >> isn't > >> > something else funny going on. > >> > > >> > On Sun, Mar 12, 2017 at 5:49 AM, bill lam <[email protected]> > wrote: > >> > > >> > > If you are not running jqt, loading all jqt definitions can > >> > > cause conflicts and be harmful. If you know what you are doing, > >> > > you can run > >> > > load 'ide/qt/qtlib' > >> > > which enable some qt facilities for non-Qt platforms. > >> > > > >> > > Sorry for inconvenience, the changes should have happened in > >> > > j806 beta. > >> > > > >> > > Вс, 12 мар 2017, Devon McCormick написал(а): > >> > > > It looks like the problem is that I work under emacs using > >> jconsole, and > >> > > > there's a switch using "IFQT" that avoids load qtlib for me. > >> > > > > >> > > > On Sun, Mar 12, 2017 at 5:20 AM, bill lam <[email protected]> > >> wrote: > >> > > > > >> > > > > Yes there was some refactorization on the image and hash cover > >> > > > > verbs, but they should work as now. What is your version of > qtide > >> > > > > addon? The verb should be in jqtide locale in the file > >> > > > > ~addons/ide/qt/qtlib.ijs which should be loaded automatically > >> > > > > while loading qtide addons. Please provide more information so > >> > > > > that I can check. Thanks. > >> > > > > > >> > > > > > >> > > > > Вс, 12 мар 2017, Devon McCormick написал(а): > >> > > > > > I used to find code to read and write .JPGs in the jqtide > >> namespace > >> > > but > >> > > > > > this seems to have disappeared in recent versions of J - I'm > on > >> J > >> > > 8.05. > >> > > > > > > >> > > > > > Did this migrate somewhere? Is here another image > >> reader/writer that > >> > > > > > people use? It seems I have to re-ask this question every > >> couple of > >> > > > > years > >> > > > > > because this keeps changing. > >> > > > > > > >> > > > > > Regards, > >> > > > > > > >> > > > > > Devon > >> > > > > > -- > >> > > > > > > >> > > > > > Devon McCormick, CFA > >> > > > > > > >> > > > > > Quantitative Consultant > >> > > > > > ------------------------------------------------------------ > >> > > ---------- > >> > > > > > For information about J forums see http://www.jsoftware.com/ > >> > > forums.htm > >> > > > > > >> > > > > -- > >> > > > > regards, > >> > > > > ==================================================== > >> > > > > GPG key 1024D/4434BAB3 2008-08-24 > >> > > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> > > > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > >> > > > > ------------------------------------------------------------ > >> ---------- > >> > > > > For information about J forums see > http://www.jsoftware.com/forum > >> s.htm > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > > >> > > > Devon McCormick, CFA > >> > > > > >> > > > Quantitative Consultant > >> > > > ------------------------------------------------------------ > >> ---------- > >> > > > For information about J forums see http://www.jsoftware.com/forum > >> s.htm > >> > > > >> > > -- > >> > > regards, > >> > > ==================================================== > >> > > GPG key 1024D/4434BAB3 2008-08-24 > >> > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > >> > > ------------------------------------------------------------ > >> ---------- > >> > > For information about J forums see http://www.jsoftware.com/forum > >> s.htm > >> > > > >> > > >> > > >> > > >> > -- > >> > > >> > Devon McCormick, CFA > >> > > >> > Quantitative Consultant > >> > ------------------------------------------------------------ > ---------- > >> > For information about J forums see http://www.jsoftware.com/ > forums.htm > >> > >> -- > >> regards, > >> ==================================================== > >> GPG key 1024D/4434BAB3 2008-08-24 > >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > > > > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > > > > > > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
