Developer Network
Developer Network
Developer Network
ProfileText
ProfileText
:CreateViewProfileText:
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Asked by:
vb image encoder error
Archived Forums 401-420
>
System.Drawing/GDI
Question
0
Sign in to vote
User192560676 posted
I am saving imaegs to the server that have been resized when i try to set the image quality i get the following error
Compiler Error Message:
BC30561: 'Encoder' is ambiguous, imported from the namespaces or types 'System.Text, System.Drawing.Imaging'.
here is the line of code thats producing the error
ep.Param(0) = New EncoderParameter(Encoder.Quality, 90)
any ideas????
Thursday, July 14, 2005 9:58 AM
All replies
0
Sign in to vote
User192560676 posted
used the full path as below running ok now
Dim encoderParam as System.Drawing.Imaging.EncoderParameter = new System.Drawing.Imaging.EncoderParameter(System.Drawing.Imaging.Encoder.Quality,quality)
Thursday, July 14, 2005 12:20 PM