Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Pete O'Hanlon22-Nov-16 0:35
mvePete O'Hanlon22-Nov-16 0:35 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
OriginalGriff22-Nov-16 1:06
mveOriginalGriff22-Nov-16 1:06 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Eddy Vluggen22-Nov-16 0:17
professionalEddy Vluggen22-Nov-16 0:17 
GeneralRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
OriginalGriff22-Nov-16 0:24
mveOriginalGriff22-Nov-16 0:24 
AnswerRe: How to compress png, bitmap ,or cr2 image file using huffman and RLE with c# Pin
Patrice T22-Nov-16 11:27
mvePatrice T22-Nov-16 11:27 
QuestionWindows Media Player - Play MP3. Pin
ngogiatuong20-Nov-16 20:19
ngogiatuong20-Nov-16 20:19 
AnswerRe: Windows Media Player - Play MP3. Pin
Afzaal Ahmad Zeeshan20-Nov-16 21:11
professionalAfzaal Ahmad Zeeshan20-Nov-16 21:11 

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.