[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


It can draw circles.
>>
>>108000157
>draws ovals
>>
>>108000157
Is that a Gimp joke?
>>
>>108000174
>>
>>108000194
It used to be called *THE* Gimp.
>>
File: circle.png (31 KB, 1661x780)
31 KB
31 KB PNG
>>108000157
bad circles fyi gimp can do the same bad circles but I forgot how
>>
Not looking good for The Gnu Is My Pepper.
>>
I once killed a windows 95 pc from paint somehow.
>>
File: 1754151143858826.png (18 KB, 640x400)
18 KB
18 KB PNG
>>108000157
>>
>>108000381
i did it with 3. somehow managed to name the file with a special character
>>
>>108000381
Create a big enough canvas, run out of mem, it hangs. Did that enough times.
>>
File: 1744976524679653.webm (2.59 MB, 600x600)
2.59 MB
2.59 MB WEBM
>Gimp can't draw circ-
>>
>>108000157
No it wasn't. MsPaint was released in 1995. Paintbrush was a completely unrelated codebase. The source code for both have been leaked, they don't have a single line of code in common.
>>
>>108000224
circle selection -> selection to path -> stroke path
>>
>>108002426
How can 2 programs which both do similar things not have the same code? There’s only one way to draw a circle
>>
>>108000157
/g/ programming challenge: make your own paint program in as small code as possible. It must support drawing circles.
>>
>>108002464
You can draw a circle using trigonometric functions.
You can draw a circle using Pythagorean theorem.
You can draw a circle using that clever trick that only uses integer maths to plot a small section of a circle and repeats it to draw the whole circle.
So there's at least three different ways to draw a circle
>>
>>108000157
>1985
>400kb
So it was giga bloat when it was released
>>
>>108002353
>inb4 antialiasing
just supersample it and downscale final image
>>
I need a fast to open image editing software with stuff like resizing, cropping, changing format etc.

But paint fucks with the image, their resizing algorithm is abhorrent garbage while every other program and browser has variety of different options for it.
These days I cant even copy paste and image from chrome to paint without it fucking with the resolution.

Is there a way to get paint but without it fucking up resizing and res?
>>
>>108002475
#/bin/sh
krita
>>
>>108002426
I'm doing the best with the information I have access to.
I was not even born in 1985 but I think we can both agree that very old programs can draw circles.
>>
>>108000157
Paint is bad at drawing circles.
>>
>>108000157
I came back to windows after years of linux, and realize how much of a joke linux desktop is.
Server is good though.
>>
>>108002353
haha this is fucking amazing, I had no idea gimp allowed this.
>>
>>108000157

1) The thing on your screenshot most certainly was not made in 1985. Even with compatibility layer (not present in most currently running Windows installations), Win16 applications can't look like that (using modern controls).

However, Microsoft, being Microsoft, unofficially backported Windows 95 controls to 16 bit to build later versions of Internet Explorer for Windows 3 and other programs (comctl16.dll), and even hooked the drawing functions to mimic the new look (ctl3d.dll). But that only gives you close-but-not-quite-Windows-95 style with gray panels, not styled ones from XP and later versions.

https://betawiki.net/wiki/Windows_GUI#Common_Controls_and_Common_Dialogs
https://devblogs.microsoft.com/oldnewthing/20241119-00/?p=110543
http://www.win3x.org/win3board/viewtopic.php?t=14706
https://www.owenrudge.net/vb/commctrl

2) PC program from 1985 most certainly was not 400 KB. Compare it to a regular 5 inch floppy disk capacity, for example. Moreover, it was possible that the computer did not have that much memory at all at the time. Windows 1 mentioned 256 KB of memory in its system requirements. Sure, people had more, and running (later, real) Windows for any real purpose required more memory, but 400 KB program is still a bit too much.

3) Programs in GUI environments use code and resources of operating system and its graphical environment libraries. They say, “I want a window with that size, with those items in the menu, with status bar showing that text, with such and such other objects drawn here and there”. It is done for them by the system. So the size of the program, at least in the old times, only hinted at amount of code and resources used for its specific task. A lot more code remained in system libraries, and was used dynamically. Without them, program won't work.

4) There were multiple versions of 32-bit mspaint.exe, too

https://betawiki.net/wiki/Paint
>>
>>108006731
Software today still pulls resources from the operating system.
>>
>24 year old feature request
>still proudly open
Feetfags gonna feetfag
>>
>>108007215
completely impossible would require a complete refactor
>>
File: ebussy_laughing.webm (547 KB, 1024x1024)
547 KB
547 KB WEBM
>>108007261
>refactor
usecase?
>>
>>108006247
GIMP gets a bad rep because many don't consider it a viable Paint or Photoshop alternative despite being the most famous OSS painting software.
And for most part I agree and tools like Krita are better for mainstream usage, but GIMP is a pretty damn interesting software on its own.
I'd call it a painting programming application.
A lot of features that's taken for granted on Photoshop nowadays appeared first on GIMP thanks to its scripting capabilities. Content aware fill is probably the most famous case.
>>
>>108007067
Software today might be a tiny wrapper that starts a server side process or VM using some toolkit with its enormous dependencies, which in turn starts the client side browser window in disguise with another toolkit with its enormous dependencies loaded to run the web application, and code that does task-specific work is sprinkled all across the script sources, or is dynamically generated on the server side from templates and injected into the client application. It is a bit harder to calculate the size of that program, or define what the program is.
>>
>>108000157
Gimpbros...
>>
>>108005923
Haven't they taught you that Wikipedia is not a reliable source? You need to learn how to read it instead of copying words and numbers like a robot. Use some common sense, compare with what you know about old and new operating systems, and come to a conclusion that such single step lineage is probably too simple.
>>
>>108002464
>There’s only one way to draw a circle
Lmao! Did you ever finish high School? If you had you should at least know of two or three different methods

center–radius definition: generate points that stay a constant distance r from a center (h, k)

parametric angle loop: sweep θ from 0 to 2π and compute x = h + r cos(θ), y = k + r sin(θ)

implicit equation sampling: scan points and keep those where (x − h)2 + (y − k)2 ≈ r2

midpoint / bresenham algorithm: raster circle using integer math and 8-way symmetry

polygon approximation: draw a regular n-gon with many sides to approximate a circle

vector rotation: repeatedly rotate a radius vector by a small angle using a rotation matrix

complex number rotation: start with z = r and multiply by e^{iΔθ} each step

distance field threshold: compute distance-to-center per pixel and draw where distance ≈ r

fourier reconstruction: combine sine and cosine waves that trace circular motion

physics constraint simulation: move a point while enforcing a fixed-length constraint to a center

turtle graphics: move forward a small step and turn a constant angle repeatedly

bezier curve approximation: join multiple cubic bézier curves arranged to form a near-circle
>>
Paint wasn't a graphics editor it was a feeling.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.