Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Monday, October 12, 2009 9:55:30 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
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.

Code:

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();

Quote:
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?)

Alex Kon  
#2 Posted : Thursday, October 15, 2009 6:40:01 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups:
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
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.

Users browsing this topic
Guest
Forum Jump  
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.