9tontruck 0 Newbie Poster

Hi,

I am making an image editing program with C and it will come with OpenCV library files. The problem is the program should be accessible from many different operating systems such as Windows, MacOS, IOS, Android - the point is that we want to avoid re-write same code in different programming language. I am wondering which one is the best approach in this case. Below is what I have searched so far.

Note: Most images are supposed to be printed out so they are usually high resolution images. And the worldwide users upload nearly a million photos a day.

  1. Implement all logics in a dedicated server. And the user uploads their images from their client-side devices, then server edits photos and re-send back to the user. (traffic?)

  2. Code, compile and build the c code differently in the different OS's. For example, native language for Android and block coding for IOS. (It will be so hard but must be possible)

  3. Any suggestions?

I know you know something related to this. Please share me the knowledge!!