• C

how to code?

Hi,
  I got an algorithm by using modified run length coding to compress bit map image.  But I don't know how to code is by using 'C', can anyone help? (I understand the RLE algorithm already but here is a variant of that.  I want to see its performance on image compression but I don't know how to code it by using "C")  (Pls e-mail me!)
thanks
Alex
gorexyAsked:
Who is Participating?
 
pjmazeConnect With a Mentor Commented:
Hi,

I dont know what variant you are talking about, but go to this URL http://www.dc.ee/Files/Programm.Packing
and you will find some source code in C that implements several RLE !!

All the best ...
0
 
arnondCommented:
post your algorithm and maybe someone will be able to help you...
0
 
gorexyAuthor Commented:
Edited text of question
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
gorexyAuthor Commented:
Edited text of question
0
 
gorexyAuthor Commented:
I prefer to give my algorithm through e-mail.
(sorry!)
0
 
arnondCommented:
OK,
sarnon@t2.technion.ac.il
0
 
gorexyAuthor Commented:
Edited text of question
0
 
GrailmanCommented:
C/C++ Users Journal has an article on Random Access Data Compression at:

http://www.cuj.com/archive/1509/index.html

You might take a look.
0
 
StapleheadCommented:
Alex,

Are you looking to understand the algorithm, or are you looking to port it to another language?

If you're just looking to understand the algorithm, RLE isn't that hard to comprehend, and there are (i'd assume) many texts out there which describe it.  (i could go back to my bookshelf tonight and pull a reference or two..)

Larry
0
 
gorexyAuthor Commented:
Edited text of question
0
 
ozoCommented:
What's the variant?
What sort of images?
0
 
Answers2000Commented:
Bitmap Graphics books by Steve Rimmer have nice C sample code for most file formats (I used to have the Bitmap Graphics book which is DOS, but the newer Windows version looked pretty similar in the book shop).

He writes well to.

Go to www.amazon.com

Search for "Steve Rimmer"

You'll get a list of his books.

Buy one of the bitmapped graphics book.  As I don't know if you're DOS or Windows (or something else), you'll have to pick the most appropriate version of his book.

As I said code is C (at least in the DOS book) and easy to understand
0
 
emmonsCommented:
Gorexy, are you looking for some one to send you email and volunteer to code your algorithm?
It seems like you are saying that you have a varient of the standard RLE encoding algorithm that you would like to benchmark, but you do not know how to implement it in C.
Is this a fair assesment of your question?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.