This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

JPG Exif

Hi,

We were trying to remove the JPG thumbnail if there is any. But seems like we having some error during compilation.
We are using VS2008, WPF, C#.

Thanks.


Aurigma.GraphicsMill.Codecs.LosslessJpegTransform myJPG = new Aurigma.GraphicsMill.Codecs.LosslessJpegTransform(ImageFullPath);
      if ((myJPG.Exif != null) && myJPG.Exif.Contains(Aurigma.GraphicsMill.Codecs.ExifDictionary.Thumbnail)) 
      {
          myJPG.Exif.Remove(Aurigma.GraphicsMill.Codecs.ExifDictionary.Thumbnail);
      }
      myJPG.WriteRotated(strTmpFileName, System.Drawing.RotateFlipType.Rotate270FlipNone);
      myJPG.Dispose();


Error 16 'Aurigma.GraphicsMill.Codecs.LosslessJpegTransform' does not contain a definition for 'Exif' and no extension method 'Exif' accepting a first argument of type 'Aurigma.GraphicsMill.Codecs.LosslessJpegTransform' could be found (are you missing a using directive or an assembly reference?)

Hello,

Hm... The code compiles without errors on my machine with VS2008 & Graphics Mill v5.5 for .NET. Maybe there is something wrong with project or references? Please, could you attach small sample project which reproduces the issue? And post full version numbers of all referenced Aurigma DLLs.