Click here to Skip to main content
15,895,370 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error Pin
john563217-Jul-09 0:55
john563217-Jul-09 0:55 
GeneralRe: Error Pin
0x3c017-Jul-09 1:05
0x3c017-Jul-09 1:05 
GeneralRe: Error Pin
john563217-Jul-09 1:35
john563217-Jul-09 1:35 
GeneralRe: Error Pin
0x3c017-Jul-09 1:44
0x3c017-Jul-09 1:44 
GeneralRe: Error Pin
john563217-Jul-09 2:33
john563217-Jul-09 2:33 
QuestionC# compression Pin
GauravKP17-Jul-09 0:05
professionalGauravKP17-Jul-09 0:05 
AnswerRe: C# compression Pin
Luc Pattyn17-Jul-09 0:20
sitebuilderLuc Pattyn17-Jul-09 0:20 
AnswerRe: C# compression Pin
Alan Balkany17-Jul-09 3:53
Alan Balkany17-Jul-09 3:53 
For extreme requirements like this, it may justify splitting the byte array into chunks, and using a custom compression algorithm for each chunk.

For example, you may find a run of several hundred pixels with the same value, which would compress nicely with run-length encoding: The single pixel value plus a repetition factor.

Other chunks may have different types of regularity you can exploit, such as a repeated block pattern.

The compressed image will end up as a list of chunks, each with a byte identifier (that gives the compression type for that chunk) followed by that chunk's data. To decompress, go through the chunks, read the byte identifier, then execute the corresponding code to reconstruct that chunk.
QuestionHow to make a pipe continuously availble for other C# application. Pin
svt gdwl16-Jul-09 23:55
svt gdwl16-Jul-09 23:55 
QuestionErrr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor16-Jul-09 23:44
Baeltazor16-Jul-09 23:44 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits16-Jul-09 23:58
HuntingWabbits16-Jul-09 23:58 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 0:39
Baeltazor17-Jul-09 0:39 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits17-Jul-09 0:56
HuntingWabbits17-Jul-09 0:56 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 1:46
Baeltazor17-Jul-09 1:46 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Wes Aday17-Jul-09 3:34
professionalWes Aday17-Jul-09 3:34 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 4:17
Baeltazor17-Jul-09 4:17 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Wes Aday17-Jul-09 7:53
professionalWes Aday17-Jul-09 7:53 
QuestionRelated to thumbnailcontrol Pin
pradnyajag16-Jul-09 23:41
pradnyajag16-Jul-09 23:41 
Questionvar : good or bad? Pin
hairy_hats16-Jul-09 23:35
hairy_hats16-Jul-09 23:35 
AnswerRe: var : good or bad? Pin
0x3c016-Jul-09 23:38
0x3c016-Jul-09 23:38 
AnswerRe: var : good or bad? Pin
Pete O'Hanlon16-Jul-09 23:50
mvePete O'Hanlon16-Jul-09 23:50 
GeneralRe: var : good or bad? Pin
hairy_hats17-Jul-09 0:14
hairy_hats17-Jul-09 0:14 
AnswerRe: var : good or bad? Pin
Luc Pattyn17-Jul-09 0:24
sitebuilderLuc Pattyn17-Jul-09 0:24 
AnswerRe: var : good or bad? Pin
PIEBALDconsult17-Jul-09 4:38
mvePIEBALDconsult17-Jul-09 4:38 
QuestionDelete string from right of 10 places Pin
elci16-Jul-09 23:32
elci16-Jul-09 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.