T O P I C R E V I E W |
John |
Posted - Sep 12 2014 : 05:16:25 Hello
Both FillFromDirectory commands (when used separately) will load the jpg images into an ImageEnMView1 component.
Scenario 1) ImageEnMView1.FillFromDirectory(tempCurrentPathAndFile);
Scenario 2) { ImageEnMView1.FillFromDirectory(tempCurrentPathAndFile, -1, // Maximum number of files False, // Allow unknown formats - default is false '', // Excluded file extensions False, // Detect file format '', // Filter mask limits the fill to the listed file extensions False, // Include video files False, // Load on demand iedtNone, // Default top text iedtNone, // Default info text iedtNone, // Default bottom text False, // Show hidden files - default is false False); // Show folders - default is false; }
When ImageEnMView is loaded using scenario 1 and a selected image is saved using "ImageEnView1.IO.SaveToFile" the resulting file is correctly saved. However, when scenario 2 is used, a jpg file is created, but there is no image and no EXIF data in the file.
Does anyone have an answer as to why?
TIA
John
|
2 L A T E S T R E P L I E S (Newest First) |
John |
Posted - Sep 17 2014 : 06:44:49 Nigel
My mistake. I had the ImageEnMView.FillFromDirectory LoadOnDemand property set to False. Once I set this to true the problem resolved.
TIA
John
|
xequte |
Posted - Sep 14 2014 : 22:11:13 Hi John
What method are you using to assign the image from the ImageEnMView to the ImageEnView? You would be best to load the image directly into the ImageEnView (so you can do fast loading in the ImageEnMView), but if you are doing a straight assignment of the IEBitmap, then ensure you copy the Params data too.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|