Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.drawing
Poor quality GIF image after quantization.
bns
12/6/2004 1:38:00 PM
Hi,
Am integrating quantization technique (OctreeQuantizer.cs, Quantizer.cs) in
my image processing assembly component which is a C# library application.
Only modification I did was the code [StructLayout( LayoutKind.Explicit) ]
is replaced to [StructLayout( LayoutKind.Auto )] and removed all FieldOffset
inside the Color32 structure. This is needed because I want to avoid the
following warning message which will appear while exporting above c#
assembly into COM .tlb file.
Type library exporter warning processing 'Color32, ImageCompression'.
Warning: The type has explicit layout, and has been exported as an empty
record. Types with explicit layout can only be properly exported if all
members have an offset of 0 (a union).
After processing the GIF image the quality of the image is poor, especially
those images having text. Please tell me how to improve the quality after
processing the image.
The OctreeQuantizer.cs, Quantizer.cs code is available in the following URL:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/colo...
Thanks in advance,
bns
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Poor quality GIF image after quantization.
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password