• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - yapt

1
Help & Questions / Resize image to a size limit
1 February 2009, 15:00:27
Hello,

I am new to Vampyre Imaging library, I only want use imaging library to save an image to a sqlite database.  Then sqlite has a maximum size for the database image column.

I would like to know if I have any function to reduce (maintaining aspect ratio) the image memory size to any value I can specify.  I have read Resize and ResizeImage functions.  But both of them need an aspect limits (width or height).  But I would like to reduce any image to a 1Mb (ie) memory size.

Any clue about this ?
SMF spam blocked by CleanTalk