[Exception: A Graphics object cannot be created from an image that has an indexed pixel format.]
System.Drawing.Graphics.FromImage(Image image) +1410749
ImagesUtils.WatermarkImage(Bitmap image, Bitmap watermarkImage) in c:\inetpub\wwwroot\TglSites\Haftaseman\App_Code\ApiFunctions.cs:857
ImagesUtils.WatermarkImageByDefault(String srcPath, String destPath) in c:\inetpub\wwwroot\TglSites\Haftaseman\App_Code\ApiFunctions.cs:892
MyBModule.context_BeginRequest(Object sender, EventArgs e) in c:\inetpub\wwwroot\TglSites\Haftaseman\App_Code\MyBModule.cs:81
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93
|