LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Why did size of saved files are different?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, January 11, 2012 9:16:29 PM(UTC)
Groups: Registered
Posts: 8
I use LeadTools raster imaging pro 13 & LeadTools raster imaging pro 15.
When converting the same file... use Lead Tool 13 version and 15version.
Why did the size of the converted files to version 13 and version 15 of the files are different?
=======================
BITMAPHANDLE hInBitmap;
iRet = L_LoadBitmap(pszFileSrc, &hInBitmap, 0, ORDER_RGB, NULL, NULL);
iRet = L_SaveBitmap(pszFileDst, &hInBitmap, FILE_EXIF_JPEG, 0, 2, NULL);
** size of saved file
13 version : 27598
15 version : 30742
I've attached a sample file used as a source
Thank you for any help :)
pyodok attached the following image(s):
#2
Posted
:
Friday, January 13, 2012 8:54:08 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Is this the code you're using in both versions?
Specifically the Quality Factor?
#3
Posted
:
Monday, January 16, 2012 11:21:57 PM(UTC)
Groups: Registered
Posts: 8
yes
####### 13 version #######
BITMAPHANDLE hInBitmap;
iRet = L_LoadBitmap(pszFileSrc, &hInBitmap, 0, ORDER_RGB, NULL, NULL);
iRet = L_SaveBitmap(pszFileDst, &hInBitmap, FILE_EXIF_JPEG, 0, 2, NULL);
####### 15 version #######
BITMAPHANDLE hInBitmap;
iRet = L_LoadBitmap(pszFileSrc, &hInBitmap, sizeof(BITMAPHANDLE), 0, ORDER_RGB, NULL, NULL);
iRet = L_SaveBitmap(pszFileDst, &hInBitmap, FILE_EXIF_JPEG, 0, 2, NULL);
only red part.. defferent
#4
Posted
:
Tuesday, January 17, 2012 4:59:54 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Ok, well there are only two potentials I can think of in this case now. Either the Tiff tags we save by default have been modified thus making up the extra file size. I would suspect a less noticeable change if that were the case so we can safely assume not all of this is due to changes of that nature.
Secondly, there was the change in VC++ Runtimes that has had some known effects on certain image formats. Perhaps this is also related into this.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Why did size of saved files are different?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.