View Issue Details

IDProjectCategoryView StatusLast Update
0003272JEDI VCL00 JVCL Componentspublic2006-01-08 12:26
ReporterIOnAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.20 
Summary0003272: TJvThumbImage.SaveToFile --> save to JPEG
DescriptionWhen running TJvThumbImage.SaveToFile and AFile is a JPEG an error is encountered
Additional InformationSollution

Change in run\JvThumbImage.pas
....
if (Ext = '.JPG') or (Ext = '.JPEG') then
    try
      Jpg := TJpegImage.Create;
      Jpg.Assign(Picture);
      Jpg.CompressionQuality := 75;
      Jpg.Compress;
      Jpg.SaveToFile(AFile);
....

to

....
if (Ext = '.JPG') or (Ext = '.JPEG') then
    try
      Jpg := TJpegImage.Create;
      Jpg.Assign(Picture.Graphic);
      Jpg.CompressionQuality := 75;
      Jpg.Compress;
      Jpg.SaveToFile(AFile);
....
TagsNo tags attached.

Activities

obones

2006-01-08 12:26

administrator   ~0008350

This has been fixed since at least February 2005, please update your version of the JVCL.

Issue History

Date Modified Username Field Change
2005-10-17 13:26 IOn New Issue
2006-01-08 12:26 obones Status new => resolved
2006-01-08 12:26 obones Resolution open => fixed
2006-01-08 12:26 obones Assigned To => obones
2006-01-08 12:26 obones Note Added: 0008350