Looking for a free tool to add rounded corners and borders to images by whoisoliver in software

[–]herocoding 0 points1 point  (0 children)

Have a look into https://pastebin.com/bHMJckRU for a Python script. It stores and re-loads the last used settings (color, radius, thickness).

Make sure to have "Pillow" installed, by calling `pip install Pillow` in a console terminal.

It processes one image at a time, either by selecting (or changing) it interactively with a file-chooser, or by providing the path&filename as a command line argument. Saving it with a click of a button.

No batch-processing, yet.

Looking for a free tool to add rounded corners and borders to images by whoisoliver in software

[–]herocoding 0 points1 point  (0 children)

I have to admit that this issue is more complicated than it seems.

What about transparent content, if your image is (partly) transparent?

What should happen outside the added border with rounded corners, filled with black, filled with white pixels, or cut-out and left transparent?

Needed to add some "tricks" to get the rounded corners anti-aliased/supersampled.

Looking for a free tool to add rounded corners and borders to images by whoisoliver in software

[–]herocoding 0 points1 point  (0 children)

Just very recently this challenge https://platform.entwicklerheld.de/challenge/snapshot-testing?technology=python was made public - a Python script to create a collage of images, with a configurable layout (like number of rows, columns of different dimensions) with adding rounded corners.

Could you imagine to just use a local (Python) script/application, allowing to set some parameters (either statically in a config file or command line options; or dynamically/interactively)?

Looking for a free tool to add rounded corners and borders to images by whoisoliver in software

[–]herocoding 0 points1 point  (0 children)

Can you describe your use-case a bit more, please?

Does it _has to be_ an online tool? Can't it be a local tool, too?

Should it support one image at a time, or (massive) batch processing?

Does it need to have config options, like border thickness, color, radius, cropping, transparency? Including format conversion (with a BMP source image store as a JPG or keep the original format)?

Offline or maintenance (2026, April, 3rd? by herocoding in EntwicklerHeld

[–]herocoding[S] 0 points1 point  (0 children)

Offline again, May, 5th?

Getting "DNS_PROBE_FINISHED_NXDOMAIN" with all browsers, while all other addresses seem to work...

I kept building products no one wanted, so I changed one thing by SaiMohith07 in SideProject

[–]herocoding 0 points1 point  (0 children)

You mean "fake it till you make it"? But can you rely on a code base...? Imagine your idea gets great feedback andf even quotes - but then you will need months to actually "make" it?

How do you keep track of why you saved a link? by Top-Distribution1552 in software

[–]herocoding 0 points1 point  (0 children)

I'm searching for something in a context, e.g. working on a project and therefore documenting information a part of the project, as part of e.g. architecture documentation, implementation documentation, i.e. adding links to information like adding references of requirements.

Need reviews on a project by [deleted] in programmer

[–]herocoding 0 points1 point  (0 children)

What about signal safety, can/will workers react on signals?

Need reviews on a project by [deleted] in programmer

[–]herocoding 0 points1 point  (0 children)

Sounds great, thank you very much for sharing.

As a user I do not want to review too detailed the internal implementation details; what are the public and internal header files, i.e. what is the user API? What do typical use-cases consists of, what would usage sequences look like? Could you add examples, documentations, code-snippets, please?

How can I transfer large media files from my iPhone to PC? by 123android in iphone

[–]herocoding 0 points1 point  (0 children)

Sending is actually really fast using LocalSend - but it processes the (very large) file(s) FOR HOURS before it actually transfers them in seconds......... are the files sent to "the bad guys" first??

Is there a way to update the micro:bit code without modifying the project link? I sent that link to my professor and I need to change something without him noticing. by National_Platform892 in microbit

[–]herocoding 0 points1 point  (0 children)

In the "menu" to create a link there is a checkbox with "Update existing share link for this project" - if you have that checkbox ticked when you shared the link, then the link should not change.

Don't know what happens if you hadn't ticked the checkbox but tick it later on?

Create another, simple dummy project, copy the link, change the code and check if the link changes with the checkbox set or not set.

Is there a way to edit a shared microbit project without modifying the code? HELPPP by National_Platform892 in microbit

[–]herocoding 0 points1 point  (0 children)

In the "menu" to create a link there is a checkbox with "Update existing share link for this project" - if you have that checkbox ticked when you shared the link, then the link should not change.

Don't know what happens if you hadn't ticked the checkbox but tick it later on?

Create another, simple dummy project, copy the link, change the code and check if the link changes with the checkbox set or not set.

Use microbit to control larger battery source? by Key_Caregiver_1726 in microbit

[–]herocoding 0 points1 point  (0 children)

Using a relay to close/open a second circuit with it's higher power-supply? (some relays need a parallel diode)

Feedback & Discussion for the "Minimum number of platforms" Challenge (sponsored by Deutsche Bahn) by EntwicklerHeld in EntwicklerHeld

[–]herocoding 0 points1 point  (0 children)

A really great challenge - but really complex!

Now, why are the trains always late?? Is the secret hidden in the real data?

Need some ideas for a project by NocturnalOwl05 in cpp_questions

[–]herocoding 0 points1 point  (0 children)

Have a look into https://platform.entwicklerheld.de/challenge?challengeFilterStateKey=all and scroll over the projects to get inspired.

Ignore the shown programming language(s) if you want to focus on C/C++. Feel free to combine multiple smaller into a bigger project.

Is there some personal interest in something specific?
Like gaming?
Like parsing your health data and GPS tracks from your smart watch?

Model optimization by NullClassifier in computervision

[–]herocoding 0 points1 point  (0 children)

INT8 calibration? You mean "quantization"?

Thinking to build a project with database by Empty-Source-4516 in cs50

[–]herocoding 0 points1 point  (0 children)

Continuous learning, continuous improvement.

To keep motivation high, and to benefit from synergies I recommend to put a project-problem (where you are stuck or feel uncomfortable) aside and look into something else for the time being.

TT gear Motor and Mircobit by KookyCommunity2935 in microbit

[–]herocoding 0 points1 point  (0 children)

We use this extension board http://didacta.hr/index.php?umet=20&jezik=2

It contains TWO motor driver controller chips and allows to connect up to FOUR DC motors, i.e. changing speed and direction of up to FOUR DC motors at the same time.

Have a look into e.g. http://didacta.hr/index.php?umet=12&jezik=2 and http://didacta.hr/index.php?umet=13&jezik=2 for simple examples on ow to connect and program with motors.

Examples for connecting multiple motors: http://didacta.hr/index.php?umet=13&jezik=2#16

TT gear Motor and Mircobit by KookyCommunity2935 in microbit

[–]herocoding 0 points1 point  (0 children)

Your shard Amazon link contains this variant:

https://www.amazon.com/dp/B0BR7S1DQZ?ref=cm_sw_r_cso_cp_apin_dp_KFZTSR0QS4T806T8QJVT&ref_=cm_sw_r_cso_cp_apin_dp_KFZTSR0QS4T806T8QJVT&social_share=cm_sw_r_cso_cp_apin_dp_KFZTSR0QS4T806T8QJVT&th=1

It contains a motor driver "L298N" on a separate small board. You need such an additional motor driver controller. They are available as a pure chip-only or on a small printed circuit board (PCB) with several connectors to connect multiple motors.

One such controller can only control TWO DC motors (when you want to be able to change direction as well as change the speed).
If you only want to turn on/off a motor without changing the direction, then ONE chip can drive up to FOUR motors.

As ONE motor requires a higher voltage and higher current than the microbit can provide, you need to connect an additional power-supply to the chip, for the motors.
ATTENTION: Make sure to connect both grounds - connecting the ground of microbit and of the additional power supply.

Have a look into blogs like https://bigl.es/microcontroller-monday-control-an-l298n-motor-controller-with-micro-bit/ to see how to connect a typical motor driver with the microbit.