Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing image does not give same file size
Message
De
23/01/2015 11:54:49
 
 
À
23/01/2015 11:41:13
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614138
Message ID:
01614218
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform