Select to view content in your preferred language

Dynamic service pixelation/halo issue

2477
3
03-07-2012 07:09 PM
EdSaunders
Regular Contributor
Hi all,

I have a dynamic service that contains annotation feature classes.  In my web app, the annotation comes out quite pixelated and with a tiny halo even though no text effect is used in the MSD.  See attached screenshot.  It's quite pedantic I know but does anyone know how I can smooth out the text?  It's only really an issue when dark text is sitting on a relatively dark background.  Something tells me it's related to the graphics engine.  Any other ideas?

Thanks for any suggestions.
0 Kudos
3 Replies
BetsySchenck-Gardner
Deactivated User
You might want to try setting your image format to be png32.  By defining the ImageParameters, you can set the format to be png32.  So try the following:

var imageParameters = new esri.layers.ImageParameters();
imageParameters.format = "png32";
var lyr = new esri.layers.ArcGISDynamicMapServiceLayer(<dynamicMapService URL>,{"imageParameters":imageParameters});

I tried this recently on some current arrows I was trying to draw that were drawing as white outlines even though they had been defined to be black.  It removed the white outline and made the symbol look clear.  It also worked with points that had halos around them.  I don't know about annotation though but at least you can give it a try.
0 Kudos
AndyErdman
New Contributor
Hello,

We are having the same issue with dynamic map services displayed with a applicaton develoed in Silverlight. I would like to try the png32 solution, but don't know where to apply this setting. Could you provide some addtional information on how to apply this.
Thanks
0 Kudos
JonathanUihlein
Esri Regular Contributor
Hello,

We are having the same issue with dynamic map services displayed with a applicaton develoed in Silverlight. I would like to try the png32 solution, but don't know where to apply this setting. Could you provide some addtional information on how to apply this.
Thanks


Hi Andy,
Welcome to the forums!

With that said, this topic is fairly old and you may not receive the answer you are looking for.
I would suggest opening a thread over at the Silverlight sub-forum.
0 Kudos