Image manipulation on Google App Engine - image

I just found out that PIL functions on Google App Engine (GAE) are limited to only some basic functions.
I'm attempting to deploy a GAE app which is able to add text over an image and it is not possible to use GAE's Images Python API.
So right now, I'm hoping to look for alternatives:
External service I can call to modify the image?

The python 2.5 runtime only supports a limited set of operations through the Images API. However, the python 2.7 runtime supports the full PIL suite.

Related

can we integrate a processing gui with moodle?

i made a gui recently where the goal was to view the results of some actions there , so mostly it was like a simulation game that has no connection with any hardware , i proposed this for my school that uses moodle and i want to know if there is a way to integrate it there , the gui i used has controlP5 library and videos and gif libraries as well, i would appreciate the help
from my researches so far i found that we can integrate processing code with html after some modifications , but didn't find anything for moodle yet
My understanding is that Processing in java mode, using controlP5, etc. will work on a client machine, not on a server (like moodle) (not easily at least).
Regarding embedding a processing sketch a web page:
java applet support is deprecated (can no longer embed a .jar applet)
processing.js is deprecated (and controlP5 wouldn't be compatible anyway)
you can however port your code to p5.js
I don't know enough moodle, but perhaps you can embed a JS snippet/iframe/etc on a moodle page.
Regarding controlP5, in p5.js, you can look at p5.dom.js functionalities such as createSlider(), createButton(), etc. or use libraries like p5.gui or p5.touchgui.

DigitalOcean Functions: Convert PDF page to Image (e.g. jpg) [PHP/Node.js without imageMagick/Ghostscript]

I am facing a challenge in an architecture that uses a serverless / lambda Architecture in DigitalOcean with their "Functions" for all backend functionality (Rest API).
One of the functions is supposed to render an image from a single page of a provided PDF document.
I would be able to develop in PHP and Node.js (the later is preferred though) but when looking around for different libraries I could not find any, that are OS independent and work without external dependencies like ImageMagick / Ghostscript.
Has anyone an idea for a native node.js or PHP solution without any dependencies that might be working in the DO Functions environment?
Thanks a lot in advance for any hints

How to make a GUI in Julia?

I'm new at programming in Julia and I need to create a GUI.
I've been looking for information and I can't find anything useful. I tried to search information in the Julia official web page, but it seems to be down. I wonder if any of you guys knows where I can find information about it.
This is quite a generic question, but I'll try and layout the environment so that you can make an informed decision based on your needs. You might want to check out this article on 6 Julia Frameworks to Create Desktop GUI’s 🖥 and Web Apps.
If you are developing your code within an [Jupyter/IJulia] notebook, and need very simple interaction, such as a slider to change some input values, the Interact package is the easiest thing to get started with.
To develop full-fledged web UIs, take a look at Escher. Inspired by the Elm, it provides a functional library of UI components. Interactive web UIs are created in 100% Julia. There is no differentiation in code between the client and server sides. The framework handles all of that.
Another web framework worth looking at is Genie, which is based on the traditional MVC design pattern. It also includes an ORM.
Stipple is a reactive UI library for building interactive data applications in pure Julia. It uses Genie.jl (on the server-side) and Vue.js (on the client).
Dash ties modern UI elements like dropdowns, sliders, and graphs directly to your analytical Julia code.
All the above solutions are for creating web user interfaces, accessed via a browser. If you want to create cross-platform desktop apps, but want to work with web technologies (i.e. HTML/CSS/Javascript), use Blink. This is a Julia wrapper around the Electron. You could potentially write a Dash or Stipple application, and wrap it in Blink.jl to create a desktop app.
To create desktop UI applications using the Gtk library, use the Gtk.jl package in Julia. If you are familiar with the Gtk API, it is easy to get started. Note however that there are some significant known issues running GTK.jl on Windows.
If your UI framework of choice is QT, a Julia binding is available via QML.jl
If you are happy painting the buffer yourself and just want a window to render the pixels on the screen, then there is nothing simpler than MiniFB. Note however that this does not give you a widget library -- you are responsible for drawing each and every pixel yourself.
ClmGui.jl is a Julia wrapper around the immediate mode GUI toolkit known as Dear ImGui
And last, but not the least, the venerable Tk framework has a wrapper in Julia. The UI's created using TK are sometimes considered ugly compared with modern aesthetics, but sometimes this is the quickest way to get a window up.
[Edited Jan 2022]
QML.jl
https://github.com/barche/QML.jl
The QML.jl package enables using the QML markup language from the Qt library to build graphical user interfaces for Julia programs. The package follows the recommended Qt practices and promotes separation between the GUI code and application logic. All user-facing code is pure Julia and QML, no C++ knowledge is required to use the package.
There is a new package called Genie. It is a web framework comparable with Django in python. You can create web ui using Genie. Until now (Aug. 2017), the package is functional with some nice demos, the documentation is not quite complete though.

Is it possible to upload a windows image to Google compute engine?

I'm wondering if there's a way to upload windows image to Google compute cloud?
I've seen Google's tutorials for Linux based OS but I couldn't find any reference to Windows except the fact the it is possible to install windows software, and that it's possible to create instances using their own images:
https://cloud.google.com/compute/docs/instances/windows and
https://cloud.google.com/compute/docs/instances/ms-licensing
In case that it's possible, I'd like to know what's the process of doing that using an Hyper-V image.
Thanks,
David.

How to capture high-resolution google map image?

Recently I built a website called Google Map Customizer, which lets you customize the colors on a Google Map and get large, high resolution images. But the problem is now I have to use third-party tool to capture the image. I am wondering if it is possible to do so by using some native codes? (Java maybe?)
check it on here Google Maps API

Resources