У меня низкое качество изображения даже после RenderOptions.SetBitmapScalingMode (thumbImg, BitmapScalingMode.HighQuality);
Любая идея
if(File.Exists(image_file.FullName))
{
IPLRes.print( "Loading " + image_file.FullName);
BitmapImage thumbImg = new BitmapImage(new Uri(image_file.FullName));
RenderOptions.SetBitmapScalingMode(thumbImg, BitmapScalingMode.HighQuality);
ImageBrush imgbrush = new ImageBrush(thumbImg);
imgbrush.Stretch = System.Windows.Media.Stretch.Uniform;
RenderedPages[page_numx] = imgbrush;
}
.....
ShapRectangle thumbnail = (ShapRectangle)FindName("rect_Thumb" + thumbnail_nbr);
VISUAL thumbnailvisual = (VISUAL)FindName("rect_Thumb" + thumbnail_nbr);
thumbnail.Fill = (System.Windows.Media.Brush)RenderedPages[page_numx];