[Info-vax] simple image processing

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Thu Aug 18 06:06:08 EDT 2011


Keith Cayemberg wrote 2011-08-18 11:02:
> On Aug 13, 11:20 am, hel... at astro.multiCLOTHESvax.de (Phillip Helbig---
> undress to reply) wrote:
>> In the (somewhat) old days when I used to photograph with film, I would
>> ask for a CD with JPEG files.  Usually, these were in one directory and
>> thumbnails were in another.  Now, with a digital camera, I of course
>> still have the JPEGs (now of higher quality, of course), but by default
>> don't get the thumbnails.  (I still print out almost all pictures, which
>> I do at a photo shop since it is much easier and also cheaper.  Getting
>> everything on a CD costs just peanuts and is easier than burning one at
>> home.)  Thus, I'm looking for a quick and easy method to generate
>> thumbnails.  The idea is to have a web page of thumbnails with links to
>> the full-resolution pictures.  (Using HTML to shrink the image is not an
>> option since the whole image still gets loaded, which takes too much
>> time.)
>>
>> Is there any tool on VMS which can do this?  I realise that I could do
>> it on a non-VMS system, but a) I would have to learn an application
>> first, so I might as well learn it on VMS if possible and b) what I
>> really want is something I can script, rather than doing it
>> interactively in some GUI (presumably that is more likely to be found on
>> VMS).
>>
>> Now, I am using CSWB 1.7-11 on ALPHA.  It's fine for most things, but
>> with JPEG files it doesn't automatically scale the picture to fit the
>> screen, but rather displays just part of it (at least for a file with a
>> large number of pixels).  Is there any way to change this?  Is there a
>> newer version of CSWB?  If so, does it do the automatic scaling.  What
>> about Mosaic on ALPHA?  (I have it on VAX, but a) not the latest version
>> and b) I don't have any VAXen in my cluster anymore.)
>
> Hi Phillip,
>
> at the seemingly historic VAMP site it would appear there was at least
> an attempt to port the Coppermine image gallery software to OpenVMS,
> which uses the ImageMagick or GD image libraries. One of the listed
> features of Coppermine is the generation of thumbnail and intermediate
> size pictures.
>
> http://web.archive.org/web/20090413062736/http://vamp.issinoho.com/
> http://web.archive.org/web/20070214023816/http://vamp.issinoho.com/viewforum.php?f=12&sid=054f54196e099b0ba75605bad8b81a21
>
> http://coppermine-gallery.net/
>
>
> Cheers!
>
> Keith Cayemberg
>


The Python port to OpenVMS included PIL "Python Imaging Library".

http://www.vmspython.org/DownloadAndInstallationPython

http://www.pythonware.com/products/pil/

Toturial :
http://www.pythonware.com/library/pil/handbook/introduction.htm

The toturial has a section "Create JPEG Thumbnails" with a 10
line example.



More information about the Info-vax mailing list