Tiff, Photoshop to JPG

Questions and answers on developing, deploying and using plugins and JavaBeans

Tiff, Photoshop to JPG

Postby tweetie » Tue Jun 22, 2004 7:06 pm

I want to do the following:
-place Photoshop and/or Tiff files in a database as a blob
-let Servoy generate thumbnails (JPG) on-the-fly in a form on request

What i don't want:
-storing 1 Photoshop file and 1 pre-made thumbnail in the database (becoz these files will be changed a lot)

Is there a bean for these kind of operations??

Many thankx in advance
User avatar
tweetie
 
Posts: 345
Joined: Thu Jan 08, 2004 11:32 am
Location: Rotterdam, Netherlands

Postby stephan » Tue Jun 22, 2004 10:29 pm

This is probably not a good idea because to generate the preview on the fly the Photoshop file (with a size of many MB) has to travel trought the network to Servoy Client.
Imagine many clients doing the same thing --> your network will be pretty busy!

A better strategy would be to generate a new preview of the Photoshop image (on-the-fly) every time the image is uploaded.

(I know you said that's not what you want)
stephan
 
Posts: 76
Joined: Thu Jun 03, 2004 3:30 pm

Postby tweetie » Wed Jun 23, 2004 9:06 pm

I can live with that.....
Just as long the thumbnailing is done by Servoy and its bean....

Maybe I expressed myself wrong....
what i dont want is a client saving a Photoshop file into the database and then make a thumbnail with Photoshop and save the thumbnail into the database.....
User avatar
tweetie
 
Posts: 345
Joined: Thu Jan 08, 2004 11:32 am
Location: Rotterdam, Netherlands

Postby Jan Aleman » Wed Jun 23, 2004 9:51 pm

servoy has a built in thumbnailer.
do a search on the forum and you'll find loads of references.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby tweetie » Wed Jun 23, 2004 10:30 pm

jaleman wrote:servoy has a built in thumbnailer.
do a search on the forum and you'll find loads of references.

If you mean elements.a116.getThumbnailJPGImage()
This makes a thumbnail of a jpg or icon into a jpg thumbnail.

I need to make a thumbnail off Photoshop (.psd) file and a tiff-file.

If I search the forum on Photoshop or tif...I don't find my problem....

Also I have been looking for beans....but no luck yet....I'll keep on searching
User avatar
tweetie
 
Posts: 345
Joined: Thu Jan 08, 2004 11:32 am
Location: Rotterdam, Netherlands


Return to Plugins and Beans

Who is online

Users browsing this forum: Google [Bot] and 7 guests