[PR #289] [CLOSED] Add Image support in python (.obm) #351

Closed
opened 2026-05-06 13:16:58 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/UpsilonNumworks/Upsilon/pull/289
Author: @Oreig403
Created: 10/21/2022
Status: Closed

Base: upsilon-devHead: upsilon-dev


📝 Commits (10+)

📊 Changes

14 files changed (+90 additions, -2 deletions)

View changed files

📝 apps/code/catalog.de.i18n (+2 -0)
📝 apps/code/catalog.en.i18n (+2 -0)
📝 apps/code/catalog.es.i18n (+2 -0)
📝 apps/code/catalog.fr.i18n (+2 -0)
📝 apps/code/catalog.hu.i18n (+2 -0)
📝 apps/code/catalog.it.i18n (+2 -0)
📝 apps/code/catalog.nl.i18n (+2 -0)
📝 apps/code/catalog.pt.i18n (+2 -0)
📝 apps/code/catalog.universal.i18n (+2 -0)
📝 apps/code/python_toolbox.cpp (+2 -0)
📝 python/port/genhdr/qstrdefs.in.h (+2 -0)
📝 python/port/mod/kandinsky/modkandinsky.cpp (+62 -2)
📝 python/port/mod/kandinsky/modkandinsky.h (+2 -0)
📝 python/port/mod/kandinsky/modkandinsky_table.c (+4 -0)

📄 Description

This pull request adds 2 functions:

  • image_size(image) which takes as argument a string (for example: "image.obm") and returns the size in form of a tuple (w,h)
  • draw_image(image,x,y,w,h) which draws the image
    As I don't know how to code the website so that it converts all of the png files to obm the conversion is only possible through the obm_builder.c file (apart from the wallpaper.obm file which goes through the website)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/UpsilonNumworks/Upsilon/pull/289 **Author:** [@Oreig403](https://github.com/Oreig403) **Created:** 10/21/2022 **Status:** ❌ Closed **Base:** `upsilon-dev` ← **Head:** `upsilon-dev` --- ### 📝 Commits (10+) - [`da032a1`](https://github.com/UpsilonNumworks/Upsilon/commit/da032a1d037bc5999a09554267d7a2e1d7b6066d) add image support - [`420bb21`](https://github.com/UpsilonNumworks/Upsilon/commit/420bb21a6675cec2353412bd86a85d28bb12bfce) add image support - [`2143ba0`](https://github.com/UpsilonNumworks/Upsilon/commit/2143ba0756dab05ccbdbf0be4e14192d7e6f13d2) Add image in catalog - [`71f2670`](https://github.com/UpsilonNumworks/Upsilon/commit/71f2670ab7cc6ac42c7662ce5c0383573e38de4b) add image support - [`86b24bf`](https://github.com/UpsilonNumworks/Upsilon/commit/86b24bf2bf27a551f994e6b4062204148e7d4a55) Update apps/code/catalog.en.i18n - [`df7a900`](https://github.com/UpsilonNumworks/Upsilon/commit/df7a90040e3804f53c41a773477166206c783ac9) Update modkandinsky_table.c - [`7939fbe`](https://github.com/UpsilonNumworks/Upsilon/commit/7939fbed649c3b76ea06a4d7fcc1978c84ef4007) Update modkandinsky_table.c - [`2d459f8`](https://github.com/UpsilonNumworks/Upsilon/commit/2d459f89bd48f4ce6dea24ac1ec25e604e79035b) Update modkandinsky.cpp - [`875fcbf`](https://github.com/UpsilonNumworks/Upsilon/commit/875fcbf22325eee4250027c1a5775b707624e8ce) Update modkandinsky.cpp - [`3ab7bbe`](https://github.com/UpsilonNumworks/Upsilon/commit/3ab7bbe00892fc6733762fc696f1402bc22ccba0) Moving extapp_api and archive to ion ### 📊 Changes **14 files changed** (+90 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `apps/code/catalog.de.i18n` (+2 -0) 📝 `apps/code/catalog.en.i18n` (+2 -0) 📝 `apps/code/catalog.es.i18n` (+2 -0) 📝 `apps/code/catalog.fr.i18n` (+2 -0) 📝 `apps/code/catalog.hu.i18n` (+2 -0) 📝 `apps/code/catalog.it.i18n` (+2 -0) 📝 `apps/code/catalog.nl.i18n` (+2 -0) 📝 `apps/code/catalog.pt.i18n` (+2 -0) 📝 `apps/code/catalog.universal.i18n` (+2 -0) 📝 `apps/code/python_toolbox.cpp` (+2 -0) 📝 `python/port/genhdr/qstrdefs.in.h` (+2 -0) 📝 `python/port/mod/kandinsky/modkandinsky.cpp` (+62 -2) 📝 `python/port/mod/kandinsky/modkandinsky.h` (+2 -0) 📝 `python/port/mod/kandinsky/modkandinsky_table.c` (+4 -0) </details> ### 📄 Description This pull request adds 2 functions: - image_size(image) which takes as argument a string (for example: "image.obm") and returns the size in form of a tuple (w,h) - draw_image(image,x,y,w,h) which draws the image As I don't know how to code the website so that it converts all of the png files to obm the conversion is only possible through the obm_builder.c file (apart from the wallpaper.obm file which goes through the website) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:16:58 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Upsilon#351
No description provided.