I've gotten it to work on NT but not Solaris -- still having XWindows
problems...

Here's a snippet that resizes an image.  It's called from a servlet and
works just fine through JRun:

        ImageProducer thumbProducer =
                        JimiUtils.getThumbnailProducer(sourceName, width, height,
                                                Jimi.VIRTUAL_MEMORY | 
Jimi.SYNCHRONOUS);

        try


                JimiRasterImage thumbImage = Jimi.createRasterImage(thumbProducer);
                Jimi.putImage(thumbProducer, destinationName);
        }
        catch (JimiException e)


                System.err.println("Unable to write image: " + e.toString());
                e.printStackTrace();
        }

        -- Kyal
----------------------------------------------------
Kyallee Dalrymple           [EMAIL PROTECTED]
Senior Software Engineer
BrandMatrix, Ltd.        http://www.brandmatrix.com/
----------------------------------------------------
> -----Original Message-----
> From: Antoine Oberlaender [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 17, 2000 12:41 PM
> To: JRUN Talk
> Subject: using JIMI
>
>
> has anyone use JIMI with JRUN (2.3.3 linux)?
>
> any examples ? any examples sources  ?
>
> Any kind of help would be welcomed ...
>
> the examples i got from javasource doesn t seems to work ...
>
> --
> ----------------------------------------------
> Antoine Oberlaender
> Capella Technologies - Montreal
> [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
>

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.
  • using JIMI Antoine Oberlaender
    • Kyallee Dalrymple

Reply via email to