Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing image does not give same file size
Message
From
23/01/2015 11:54:49
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614138
Message ID:
01614218
Views:
16
>Is the Windows service code using the same .NET version (esp. System.Drawing.dll). If so then I guess it's down to stepping the code to determine where the results deviate.....

Each application is tied to the framework. The framework uses 4.0.0.0. Also, in each application, the reference in there is also 4.0.0.0.

Where it works, the Platform is set for Active (Any CPU). Where it does not, the Platform is set for Active (x86). But, I do not think that would be a factor.

As far as stepping down the code, the line DrawImage() is where the difference is. When that is executed, it resizes the image. So, this is calling .NET core libraries. I do not know if that is traceable.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform