Find Jobs
Hire Freelancers

Convert a C++/C# example to C (draws a 32bit RGB image) -- 2

$15-25 USD / hour

Closed
Posted about 7 years ago

$15-25 USD / hour

Hello! I need you to convert an existing C++ (or it might be C#?) example code to C. It's fairly straightforward and I'm probably about to overexplain it, but better than not enough detail! All it does is generate an image - the image is of a circle, colored with the HSL (Hue/Saturation/Luminance) color space. You can see THE IMAGE IT CREATES here: [login to view URL] (The Hue value is across all 360 degrees to show all colors, the Luminance value goes from 255=white in the middle to 0=black on the outside/rim, and Saturation is fixed but variable - set at 100% in that image). The SOURCE CODE is attached as a .txt file, and also here: [login to view URL] I'm not necessarily after an exact translation, just the functionality - all I need from you is a .c file that i can compile to a lib with gcc to call one function, basically something like this: int RenderImage(*imagebuffer32, int width, int height, float saturation) // 1=Success *imagebuffer32 is the address of the image buffer to draw on - supplied by the caller who creates the image. The image is always 32bit, so there's no need to cater for 24bit or end-of-row padding (and this makes it easier and more efficient to quickly write 32bit RGBA values). Saturation is 0.0 to 1.0 (it's 1.0 in the previous example image). Width and height will always be the same (it will always be a perfect square), best size is probably 512x512.
Project ID: 13433028

About the project

22 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
22 freelancers are bidding on average $21 USD/hour for this job
User Avatar
Dear client, how are you? I am a C/C++ programmer and mathematician. Checked your C# code carefully. What do you want clear? I think the pure C code is difficult for this task. If you want converting C# into C++, No problem. Your task requires both C++ and mathematics knowledges. So seems task is VERY APPROPRIATE for me. Please check my "Profile & Work List" and consider hiring me if my skill is in your concern. Looking forward to your response. Thanks.
$25 USD in 40 days
5.0 (78 reviews)
7.4
7.4
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$20 USD in 20 days
4.9 (190 reviews)
7.2
7.2
User Avatar
Hi, I specialise in C and C++; used to work well-known companies in electronics and low-level image processing(Sony etc). Can I take a look at your to-be-converted code first? Can you not tell if it's C++ or C#??? They are very different you know. Besides C++ --> C conversion would be pointless, as they are the same, in syntax(nless you use OO in C++), semantics and performance.
$27 USD in 10 days
5.0 (44 reviews)
6.5
6.5
User Avatar
Dear, I have already read your job post in carefully and understood it well. I have good and full experiences on mathematics and algorithm, computation, numerical and statistics analysis, digital image/signal processing using C/C++, OpenCV, Java, Matlab for 10+ years and I had worked on many such project before. So, I can complete your project within your timeline, finely. Please let me know about your project detail and inform me. I am waiting for your good reply. Thanks and regards, Xie
$20 USD in 40 days
4.9 (10 reviews)
5.5
5.5
User Avatar
Hi, I am interested. Thanks Narendra ////////////////////////////////////////////////////////////////////////////////////////////////////////
$22 USD in 40 days
4.9 (15 reviews)
5.0
5.0
User Avatar
I have more than 8 years of experience in Asp.net, C#, VB.Net and Sql server. I have good proficiency over Angular JS,Node JS, MVC, MVVM, Web Service, Windows Service, Web API, SignalR, Multithreading Concept, Jquery, JSON, Ajax, Java Script, HTML, CSS3, Boot Strap,WPF, Angular JS, Node JS, Xamarin (Android & IOS), Entity,Ouath Authentication, Payment Gateway (Skrill & Paypal) and Strong in Oops Concept. Reports : RDLC, Crystal Report and SSRS. Knowledge in using Github, TFS and Tortoise SVN Third part Components : DevExpress and Telerik. We are very much interested in working in this job. Please call us for the interview, we are ready to start working with you.
$27 USD in 40 days
5.0 (20 reviews)
4.9
4.9
User Avatar
Hi, I am professional freelancer and student of theoretic informatics, I have several experience with C# and C programming. I have seen the code and I can definetly convert it really fast. 2-3 hours. Hire me and you will get a TOP quality product! Regards, Bc. Martin Risa
$16 USD in 40 days
4.9 (9 reviews)
3.6
3.6
User Avatar
Hello. Im Cproger. Your code is c#. I looked code and picture and I can convert it for a few days.
$16 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a senior c++ application developer.
$16 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
C++ (pronounced cee plus plus, /ˈsiː plʌs plʌs/) is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation. It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights.[5] C++ has also been found useful in many other contexts, with key strengths being software infrastructure and resource-constrained applications,[5] including desktop applications, servers (e.g. e-commerce, web search or SQL servers), and performance-critical applications (e.g. telephone switches or space probes).[6] C++ is a compiled language, with implementations of it available on many platforms and provided by various organizations, including the Free Software Foundation (FSF's GCC), LLVM, Microsoft, Intel and IBM.
$22 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello. I know that your code is C#, also I know C. I know how create a lib file in gcc. I can help you.
$15 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Very good C programmer with 22 years' experience in the language. Your code will work and not crash, and will have zero warnings. Clearly the challenge is to preserve code integrity without object orientation that has many pitfalls that inexperienced programmers will get trapped in.
$22 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I work in C++ and have decent knowledge of structured programming C. will require more details on confirmation. what's the due date of completion?
$26 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I was involved in Machine Vision development and created a SOM based background subtraction module that used HSV vectors in euclidean space to calculate distance between colors, so have some experience with this color space. It was performance critical and platform dependency was not allowed so the code was written to support auto-vectorization and auto-parallelization.
$20 USD in 40 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
India
0.0
0
Member since Mar 17, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.