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

Notification

Icon
Error

Options
Go to last post Go to first unread
QuinnUK  
#1 Posted : Monday, March 12, 2007 11:37:08 PM(UTC)
QuinnUK

Rank: Member

Groups: Member
Joined: 1/24/2007(UTC)
Posts: 6

Hi,

I have two questions about the Frame.GetThumbnail method.

From an earlier thread about sampling algorthims I understand that the default InterpolationMode property for transformation classes is MediumQuality.

1) Is bilinear (if available) the default sampling algorithm that the Frame.GetThumbnail method uses?

2) Can the default sampling algorithm setting for the Frame.GetThumbnail method be modified?

Thanks in advance,

Quinn

Dmitry  
#2 Posted : Tuesday, March 13, 2007 8:45:18 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

The method Frame.GetThumbnail loads thumbnails using anisotropic interpolation mode and this mode cannot be changed. If you need for thumbnail with higher quality, you should load whole bitmap and resize it with corresponding interpolation mode.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

QuinnUK  
#3 Posted : Wednesday, March 14, 2007 12:31:28 AM(UTC)
QuinnUK

Rank: Member

Groups: Member
Joined: 1/24/2007(UTC)
Posts: 6

Great - that answers my question!

Thanks for getting back to me.

Quinn

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.