Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 months ago.
Improve this question
I have been tasked and assigned a project to build a web application that can generate favicon of various sizes and color from a single uploaded image of format PNG, JPG ETC with HTML code as well. Please I need your help on how to go about it.
I will appreciate any clue or hint on how to start this project. For the backend: Python or NodeJS is good.
Thank you.
Have you taken a look at Pillow? Generating images and exporting to various formats is very easy here. You should be able to get up and running within minutes after googling some basic tutorials
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
connecting python program with HTML. when I click the HTML button I need output from that python program to display in the front end. please guide me in how to solve this problem.
I need to connect that python program to my web application how to do this connecting part?
You must have a look at flask its a python library with which you can do server side stuff (backend development)
there's also another popular library django which you can look for.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a python-selenium-bot that takes a screenshot of an image and saves it in an assets folder which my frontend flutter-app then accesses.
However I think there is a better way to do this. Is it possible to not save the picture on the disk but rather in a variable or something like that so that I can send it via my rest api. This would be a lot cleaner and not so error prone.
Is there any way to save a svg without taking a screenshot of it?
Update:
My solution now is calling driver.get_screenshot_as_bas64 this allows me to save the screenshot as base64 in a variable and then pass that through my API. My Frontend can then decoded that screenshot again.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to write a script to check if I am able to stream an online video in a website. I just want a binary no (0 or 1) to see if the content is working or not and I want to do it via Python.
I have search in the internet but couldn't found an adequate answer.
The easier solution would be to calculate your internet consumption. If your internet consumption is higher than a certain limit, then you may assume that your streaming is working fine. If not, you may configure an alert.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I need advise. I want to create web page, where users can upload their images, and on server side I want to put these images to prepared image template and show on page. Is it possible? Is it possible with GIMP scripting? Any ideas?
Unless you want something that exists only in some Gimp script/plugin (and even then, most of them are open-source...) using Gimp for non-interactive work is at best overkill and very often more complicated than strictly necessary.
Simple (and even fairly complicated) programmed image edits can be done with several libraries and utilities. ImageMagick is a nice toolbox to do image editing in shell scripts.
A Imagemagick user has some code to put an image on a T shirt on his website: http://www.fmwconcepts.com/imagemagick/tshirt/index.php
It is a script but you should be able to call it from a web page.
He has some code for clyinders as well and I used it to put labels onto bottles and mugs.
Note if you use his code commercially you should pay for it.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have a python script written up and the output of this script is a list . Right now I need to get it online and make it accesible to others. I looked at Django , but then I realised that it may be kind of hard to create the UI. Is there any simple way to create a UI in Django and map it to an existing python script. Right now I am not using sql and things like that. Or is there a simpler way by which I can proceed?
I'd go with Flask or web.py.
Django pays off if you develop a large app; yours is not.
Probably all you need is two pages: one with an input form, and another with results. As long as your input is text, you should have little trouble taking input from a POST handler and passing it as is to your script.
Both microframeworks have tutorials: here's web.py's, and Flask's is right on the home page. Should get you started very quickly.