Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lose of quality in .NET Framework 4.0
Message
From
31/07/2010 17:30:27
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Lose of quality in .NET Framework 4.0
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01474757
Message ID:
01474757
Views:
126
Under .NET Framework 2.0, when I was executing this code:
            loGraphics.SmoothingMode = Drawing.Drawing2D.SmoothingMode.HighQuality
            loGraphics.InterpolationMode = Drawing.Drawing2D.InterpolationMode.HighQualityBicubic
            loGraphics.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality
            loGraphics.CompositingQuality = System.Drawing.Drawing2D.CompositingQuality.HighQuality
It was resizing an image with high quality JPG such as Compression Quality Factor=95. But, under .NET Framework 4.0, this resizes the image as if it would be Compression Quality Factor=75. This is the default JPG setting for most software. When I use the default under LViewPro, I can easily see that I have a poor quality. This is what I have presently under the new framework. So, something changed in there. As a test, if I use LViewPro and change it to 95, I will obtain a high precised image, which is what my code use to produce with the old framework.

Anyone have an idea what could be a factor here?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform