I can duplicate the behavior on win-xp. reading jpg was ok on jqt but failed on jconsole.
I think the issue is loading jqt.dll under windows jconsole cannot loading files in imageformats. png does not have such problem since png support is always built-in inside qt core dlls and does not need additional dll. On Wed, May 10, 2017 at 12:22 PM, bill lam <[email protected]> wrote: > Hi Ric, > Does jpg work on windows using jqt instead of jconsole? > > Ср, 10 май 2017, Ric Tikkanz написал(а): >> Hi Bill, >> I have the same versions of all packages as you on both Linux and Windows. >> On Linux I can successfully read and write jpg and png. On Windows I can >> read and write png, but not jpg. >> >> readimg_jqtide_ 'toucan.png' NB. works fine on Windows & Linux >> readimg_jqtide_ 'toucan.jpg' NB. works on Linux but not Windows >> 'writetoucan.png' writeimg_jqtide_~ readimg_jqtide_ 'toucan.png' NB. works >> fine on Windows & Linux >> 'writetoucan.jpg' writeimg_jqtide_~ readimg_jqtide_ 'toucan.png' NB. works >> fine on Linux but not Windows >> >> >> Cheers, >> >> On Wed, May 10, 2017 at 1:43 PM, bill lam <[email protected]> wrote: >> >> > Thanks Ric for the procedure, but I can not reproduce the issue >> > on j805 linux64 with the latest addons. My environment >> > JVERSION >> > Engine: j806/j64avx/linux >> > Beta: commercial/2017-04-30T15:56:43 >> > Library: 8.05.14 >> > Platform: Linux 64 >> > Installer: unknown >> > InstallPath: /usr/share/j/8.05 >> > Contact: www.jsoftware.com >> > >> > 1!:0 jpath'~temp/toucan*' >> > +----------+------------------+-----+---+------+----------+ >> > |toucan.png|2017 4 12 19 20 18|20278|rw-|------|-rw-r-----| >> > +----------+------------------+-----+---+------+----------+ >> > |toucan.jpg|2017 4 12 19 20 18|7497 |rw-|------|-rw-r-----| >> > +----------+------------------+-----+---+------+----------+ >> > >> > 3{."1 'search'jpkgv'qt' >> > +------+-------+-------+ >> > |ide/qt|1.1.118|1.1.118| >> > +------+-------+-------+ >> > 3{."1 'search'jpkgv'graphics' >> > +----------------+-------+-------+ >> > |graphics/afm |1.0.14 |1.0.14 | >> > |graphics/bmp |1.0.13 |1.0.13 | >> > |graphics/cairo |1.0.8 |1.0.8 | >> > |graphics/color |1.0.17 |1.0.17 | >> > |graphics/d3 |0.0.7 |0.0.7 | >> > |graphics/fvj4 |1.0.16 |1.0.16 | >> > |graphics/gl2 |1.0.93 |1.0.93 | >> > |graphics/gnuplot|1.0.6 |1.0.6 | >> > |graphics/graph |1.0.21 |1.0.21 | >> > |graphics/jpeg |1.0.17 |1.0.17 | >> > |graphics/pdfdraw|1.0.5 |1.0.5 | >> > |graphics/plot |1.0.182|1.0.182| >> > |graphics/png |1.0.25 |1.0.25 | >> > |graphics/print |1.0.16 |1.0.16 | >> > |graphics/treemap|1.0.15 |1.0.15 | >> > |graphics/viewmat|1.0.82 |1.0.82 | >> > +----------------+-------+-------+ >> > >> > >> > Ср, 10 май 2017, Ric Tikkanz написал(а): >> > > 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 >> > >> > -- >> > 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 >> > >> ---------------------------------------------------------------------- >> 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
