Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing a bunch of pictures
Message
De
05/11/2003 08:17:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00846319
Message ID:
00846391
Vues:
25
>I recently added into the report engine the ability to save the pages to BITMAP, JPEG or METAFILE files. It also has an option of scaling the pages to a specific Thumbnail size by specifying the max pixel size and then it keeps the page aspect ratio within that max size. So, in theory you could set the page size to match the ratio of the images and then use the AddPicture method to add your photos onto a page and then call the SaveToBitmap, SaveToJPEG or SaveToMetafile methods and set the nThumbnail size to 160 and then you would get the size you are looking for. However, using my control just for this would be overkill. But it's good to know that it would work for you! <bg> You'll need the BETA 4 version to test this out.

Yes, it's too much for such a small job. But, I'll keep it in mind.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform