Sign in to follow this  
hayde

error serverside image saving asp.net

Recommended Posts

the below error gets displayed on a save image call (its in german)

 

it says CS1056: unexpected Character

 

FCExporter.aspx.cs row: 16

 

-----------------------------------------------

 

 

 

Compilerfehlermeldung: CS1056: Unerwartetes Zeichen ?.

 

 

 

Quellfehler:

 

 

 

Zeile 14: * @version 2.0 [ 22 February 2009 ]??

 

Zeile 15: * ??

 

Zeile 16: */??

 

Zeile 17: /**??

 

Zeile 18: * ChangeLog / Version History:??

 

 

 

 

 

Quelldatei: c:Inetpubweb_securedhattrickFusionCharts310ExportHandlersASP_NetFCExporter.aspx.cs Zeile: 16

Share this post


Link to post
Share on other sites

sorry for the late reply.

 

i have replaced those 2 files now but still the same error (also it looks like the same version of the files i had already):

 

 

 

Serverfehler in der Anwendung /.

 

Kompilierungsfehler

 

Beschreibung: Fehler bei der Kompilierung einer Ressource, die zur Verarbeitung dieser Anforderung erforderlich ist.

Edited by Guest

Share this post


Link to post
Share on other sites

HI, That did the trick :w00t: Thank you very much.

 

While i have you here may i ask if i can adjust the quality of jpegs somehow? it is trimmed for small file size / low quality it seems. Or do i have to use png for better quality (didnt try that yet)

 

thanks again and keep up the good work!

 

Thomas

Share this post


Link to post
Share on other sites

Hello hayde,

Both the jpeg and the png are set to best quality (100%), here.

The reason that the image quality is limited is because in Flash, only 72dpi images can be created. :ermm:

Share this post


Link to post
Share on other sites

hmm. well my knowledge on the technical side of image compressions is very limited but the jpeg appeared with a lot of scattering. now regardless of dpi this is a sign for low compression. a jpeg at 100% quality even at 72dpi shouldnt be that low on quality. to emphasize this i attached 3 pics. 2 are image saves from fusioncharts. the third is the PNG saved from fusioncharts exported as JPG with 100% quality from Photoshop. If you compare the Fusioncharts generated JPG with the JPG generated via Photoshop from the PNG you will see what i mean (zoom in on text on the side).

 

 

 

Nevertheless thats not a big issue for me but maybe something you are not aware of when you say a JPG is exported with 100% quality.

 

 

 

/thomas

post-532-128441571365_thumb.jpg

post-532-128441571381_thumb.png

post-532-1284415714_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this