Click here to Skip to main content
15,921,452 members
Home / Discussions / C#
   

C#

 
QuestionHow to index dynamically created controls and their values? Pin
turbosupramk322-Nov-16 8:58
turbosupramk322-Nov-16 8:58 
AnswerRe: How to index dynamically created controls and their values? Pin
Richard MacCutchan22-Nov-16 10:48
mveRichard MacCutchan22-Nov-16 10:48 
QuestionAssigning Number To Strings Then Sort Pin
MadDashCoder21-Nov-16 19:46
MadDashCoder21-Nov-16 19:46 
AnswerRe: Assigning Number To Strings Then Sort Pin
Pete O'Hanlon21-Nov-16 20:34
mvePete O'Hanlon21-Nov-16 20:34 
GeneralRe: Assigning Number To Strings Then Sort Pin
MadDashCoder22-Nov-16 5:42
MadDashCoder22-Nov-16 5:42 
AnswerRe: Assigning Number To Strings Then Sort Pin
Afzaal Ahmad Zeeshan21-Nov-16 23:34
professionalAfzaal Ahmad Zeeshan21-Nov-16 23:34 
GeneralRe: Assigning Number To Strings Then Sort Pin
Daniel Pfeffer22-Nov-16 0:22
professionalDaniel Pfeffer22-Nov-16 0:22 
GeneralRe: Assigning Number To Strings Then Sort Pin
Afzaal Ahmad Zeeshan22-Nov-16 0:36
professionalAfzaal Ahmad Zeeshan22-Nov-16 0:36 
GeneralRe: Assigning Number To Strings Then Sort Pin
MadDashCoder22-Nov-16 5:23
MadDashCoder22-Nov-16 5:23 
GeneralRe: Assigning Number To Strings Then Sort Pin
Afzaal Ahmad Zeeshan22-Nov-16 5:32
professionalAfzaal Ahmad Zeeshan22-Nov-16 5:32 
AnswerRe: Assigning Number To Strings Then Sort Pin
Gerry Schmitz22-Nov-16 5:35
mveGerry Schmitz22-Nov-16 5:35 
QuestionHow to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Rıza Berkay Ayçelebi21-Nov-16 7:25
Rıza Berkay Ayçelebi21-Nov-16 7:25 
AnswerRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
OriginalGriff21-Nov-16 8:09
mveOriginalGriff21-Nov-16 8:09 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Rıza Berkay Ayçelebi21-Nov-16 8:44
Rıza Berkay Ayçelebi21-Nov-16 8:44 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Dave Kreskowiak21-Nov-16 9:26
mveDave Kreskowiak21-Nov-16 9:26 
You have to cherry pick the image. Most image formats are already compressed and will not compress further with huffman and/or RLE.

Stop looking at the image itself and start looking at the data in the file if you want to look at how you're going to compress what has already been compressed.

In a compressed image, there are no "run lengths". They've already been compressed, so RLE isn't going to do anything at all. Also, Huffman, or some derivative of it, has probably already been used on the image so that's not going to get you anywhere either.

The algorithms you've chosen will only work on uncompressed formats, like .BMP.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Rıza Berkay Ayçelebi21-Nov-16 18:38
Rıza Berkay Ayçelebi21-Nov-16 18:38 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Dave Kreskowiak22-Nov-16 2:32
mveDave Kreskowiak22-Nov-16 2:32 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Pete O'Hanlon21-Nov-16 9:28
mvePete O'Hanlon21-Nov-16 9:28 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Rıza Berkay Ayçelebi21-Nov-16 18:43
Rıza Berkay Ayçelebi21-Nov-16 18:43 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Pete O'Hanlon21-Nov-16 19:42
mvePete O'Hanlon21-Nov-16 19:42 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
OriginalGriff21-Nov-16 21:35
mveOriginalGriff21-Nov-16 21:35 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Rıza Berkay Ayçelebi21-Nov-16 23:19
Rıza Berkay Ayçelebi21-Nov-16 23:19 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
OriginalGriff21-Nov-16 23:24
mveOriginalGriff21-Nov-16 23:24 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Rıza Berkay Ayçelebi22-Nov-16 9:46
Rıza Berkay Ayçelebi22-Nov-16 9:46 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Richard MacCutchan22-Nov-16 10:52
mveRichard MacCutchan22-Nov-16 10:52 

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.