[Newbies] JPEGReadWriter2

Ron Teitelbaum Ron at USMedRec.com
Tue May 9 19:59:53 UTC 2006

Hi Dick and welcome to the list,

I received a response back from Tim Rowledge about your question, I've
included his edited response below.

> From: Waldemar Dick
> Sent: Sunday, May 07, 2006 6:00 AM
> I'm using JPEGReadWriter2 which comment says:
> "... I require the VM plugin JPEGReadWriter2Plugin, which is typically
> stored in same directory as the Squeak virtual machine."
> I'm using Squeak3.8-current-win-full.zip and there is no "plugin" in
> the squeak VM directory.
> JPEGReadWriter2 still works and I'm wondering, if:
> - Is the plugin compiled into the squeak vm?
> But 'Smalltalk listLoadedModules' results in:
>  #('SocketPlugin 23 September 2004 (i)' 'LargeIntegers v1.3 23 September
> 2004 (i)' 'Matrix2x3Plugin 23 September 2004 (i)' 'FloatArrayPlugin 23
> September 2004 (i)' 'BitBltPlugin 23 September 2004 (i)' 'B2DPlugin 23
> September 2004 (i)' 'SecurityPlugin 23 September 2004 (i)' 'FilePlugin
> 23 September 2004 (i)' 'MiscPrimitivePlugin 23 September 2004 (i)')

listLoadedModules lists all the plugin that have been 'loaded' and are in
use. That isn't the same as #listBuiltinModules which lists the plugins
contained within the vm, ie 'internal plugins'. On my OSX machine, the
builtin list includes the jpegreadwriter2plugin but I have no idea whether
it is in the windows or unix vms.

To add to the fun, it is entirely possible for the plugin to be built in but
not loaded even after attempting to call a primitive in the plugin. If
something fails in the plugin init code for example it doesn't load and the
method might either raise a primitiveFail or just carry on and manage
without the prim.

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim

> - Where do I find plugins?

Well that depends.  According to Tim: All the 'official' ones are included
in vmmaker, then there is the balloon3d which is semi-official and a bunch
of others scattered around.

Finding plugins depends on what you are trying to do, the best thing to do
is find the author and ask them or ask the list for information on a
specific plugin and we'll see if we can figure it out!

Hope that helps!  Sorry it took so long to reply!

Happy Coding!!

Ron Teitelbaum
President / Principal Software Engineer
US Medical Record Specialists
Ron at USMedRec.com 

More information about the Beginners mailing list