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

  • SEARCH
  • Home
  • 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 9047119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:49:33+00:00 2026-06-16T11:49:33+00:00

I have a problem with an application that uses the GD PHP library, it

  • 0

I have a problem with an application that uses the GD PHP library, it takes an image and creates a thumbnail/cropping based on it. This applications searches in the database for information related to the image so we can name it and assign it to a client.

The problem is that the image processing (creating or copying images) is slowing down our database server.

There is another way to do image processing (thumbnails/cropping) without affecting the server performance so much? A desktop application with Python to do the cropping on local and then transfer them via SSH?

On the second question, I’d like some pointer on which Python libraries to use for desktop and image proccessing.

  • 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-06-16T11:49:34+00:00Added an answer on June 16, 2026 at 11:49 am

    If doing the cropping locally before uploading makes sense for your use case, then yes, it’s a great idea.

    The first question is, do you really need to use Python at all? If you’ve got, say, ImageMagick installed, a call to convert followed by scp is a 2-line bash script, and rewriting it as a 5-line Python script may not make it any more readable.

    But if you do want to do it with Python, here are some choices:

    • Since you’re already presumably familiar with gd, and have some gd code in PHP to port, maybe use a Python gd wrapper, such as gdmodule.
    • ImageMagick does everything in the universe, including this.
    • PIL is the closest thing to a standard image library for Python.

    Meanwhile, for doing the SSH copy, you’ll probably want to use paramiko.

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

Sidebar

Related Questions

Well, here is my problem: I have an application that uses a custom Javascript
I have a problem with my android application. That application which uses the kSOAP
I have developed an image uploading application that uses Flash to load an image,
I have a PHP/5.2 driven application that uses transactions under MySQL/5.1 so it can
I have a WPF application that uses a custom window frame. My problem is
I have built an application that uses the GestureRecognizer (System.Windows.Ink.GestureRecognizer). The problem is that
I have a simple php application that uses, among others, an hourly updated external
I have problem with JDBC application that uses MONEY data type. When I insert
I am building a Web application that uses the Google API PHP client library.
i have a PHP application that uses $_SESSION global to manage data inside 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.