How to create multiple thumbnail images while creating the Image assets

Hi all!


I have a requirement to create several thumbnail images (of different sizes), while creating new assets of image. These vignettes must be associated with different attributes after the recording of assets. I thought you used miniature filter, but I read that it uses a library of swing, it's very very inefficient memory-wise and we can experience the memory leak and crashes with only a very limited number of images... Another solution is to set up the filter citing ImageMagick with a system exec: it's fast, it does not have the memory and it also generates a much greater quality of thumbnail image resizer that comes with swing.


What do you think, and how can I implement this?


Thank you very much!

Hello Elena,

We noticed some performance issues in our current client, so we changed the miniature filter by default:

A temporary file is no longer used for the input image. The source image is used directly, because it is not changed by the thumbnail generator.

This avoids some performance issues, we have detected. First of all, because of the way the image has been copied (a byte is read and written each time), and second, because of some file systems environments run badly.

In addition, it relies on "deleteOnExit", which can produce an impact on the performance of the application server, as the JAVA virtual machine must maintain a list of files to delete when leaving, and which consumes memory. It is even more problematic on servers that are not restarted very often.  And if at the end the application server is not normally off, these files would not be removed.

On the other hand it seems that the thumbnail generator is not necessary that the image source file ends with the extension of the right.

Now we use the provided source image directly, it's a ".tmp" instead of a file (for example) the file ".gif".

It will be useful,

Gerardo

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for

  • How to view mdsplus data using labview

    I posted this question in the Council of Labview, but seems that nobody does it so far. I don't know what is the best place to ask this question. So I reposted here.  Thank you very much. I am a newbie to Labview. I'm writing a few vi to display and

  • How to get rid of the reference lines on the front panel

    I forgot how I created a couple of horizontal and vertical lines on the front panel. It seems that the original on the front lines. When I move my program to another monitor with a different resolution, the layout is messed up because of the referenc

  • Difficulty keeping the theme Default Theme/Luna of Windows XP active, but also personal painted.

    Hello! I recently had problems disables default Windows XP Theme (Luna) as well as to keep my desired active wallpaper. When I try to load the theme, I get a message saying that the theme service is not running and that it can be turned on with the c

  • HP Officejet Pro 8620 copier copies only half of the document

    During the adjustment of the glass my copier copies only half of the page. When cope since the charger it leaves one side of my page off the coast. I've only had it a few weeks and do not know what to do. Thanks in advance for any help I can get.

  • System Restore does not work on my Windows 7 computer

    System Restore does not work for me on Windows 7 pro, he returns with a cancellation but does not either.  I have load a movie in movie maker and all the trouble started.  I couldn't finish the loading of the movie at that point, I started to have pr