Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7671421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:03:08+00:00 2026-05-31T16:03:08+00:00

I am working out how to build a python app to do image processing.

  • 0

I am working out how to build a python app to do image processing. A client (not a web browser) sends an image and some text data to the server and the server’s response is based on the received image.

One method is to use a web server + WSGI module and have clients make a HTTP POST request (using multipart/form-data). The http server then ‘works out’ the uploaded image and other data that the program can use.

Another method is to create a protocol that only sends the needed data and is handled within the application. The application would be doing everything (listening on the port, etc).

Is one of these a stand-out ‘best’ way (if yes, which one?), or is it more up to preference (or is there another way which is better)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:03:10+00:00Added an answer on May 31, 2026 at 4:03 pm

    I believe it’s more up to your needs, the size of the images, and your general knowledge of network programming.

    In terms of simplicity, posting an image to the webserver using WSGI would be fairly simple, and you wouldn’t have to worry about handling connections, sockets, error handling due to busy network ports, etc.

    Another argument in favor of this approach is that you can easily reuse this “feature” if you already have it working on a webserver, say, by including a browser client. It might not be one of your needs now, but the door is left open.

    This would be my choice.

    Also, in Python you have a huge plethora of web frameworks to choose from, from the likes of Django, which is probably a huge overkill for your needs, to something alot simpler, like http://flask.pocoo.org/ which might just suit your needs and is really simple to set up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my opinion, once a working copy is checked out, the automated build &
So, I'm working with CKEditor and jQuery, trying to build a pop-out editor. Below
I'm looking for some information about the roll-out of a python project that uses
I want to build out a nodejs app and was looking for a good
I'm working out the reasonability of a request to keep all documents with executable
I`m currently working out the design for simple graphic editor, who support trivial operations
I am having trouble working out how to get a simple fade in fade
I'm currently working out the layout of a WPF Application and seem to have
I'm working out an algorithm to get permutations like 123 132 213 231 312
I'm having trouble working out the best way to repaint a JxTreeTable when the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.