Sujet : Re: 'Graphics' of libwy
De : ross.a.finlayson (at) *nospam* gmail.com (Ross Finlayson)
Groupes : comp.lang.c++Date : 20. Dec 2024, 01:21:45
Autres entêtes
Message-ID : <s_idnQttB9Q9Jfn6nZ2dnZfqnPednZ2d@giganews.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
On 12/18/2024 08:14 PM, Keith Thompson wrote:
wij <wyniijj5@gmail.com> writes:
On Wed, 2024-12-18 at 18:29 -0800, Keith Thompson wrote:
wij <wyniijj5@gmail.com> writes:
On Wed, 2024-12-18 at 13:12 -0800, Keith Thompson wrote:
[...]
I think now the answer may lie at what the cout (terminal) is.
E.g. gnome-terminal --geometry=200x100 --zoom=0.5 -- ./a.out
a.out is now plotting on a 200x100 drawing board.
>
C++ can provide a graphics library, but not necessarily a GUI library.
>
That's a text terminal. Sure, you can do "graphics" in text mode, but I
don't think that's what anyone has been talking about.
>
But, what is the true thing the program is dealing with? What is 'pixel'?
>
Do you really not know what a pixel is?
>
I think it is possible to handle and display a photo using 'cout'
>
Possible? Sure.
Desirable? Rarely.
Worth standardizing in the C++ standard? Nope.
>
[...]
>
Pixel = "picture element"
Voxel = "volume element"
Raster = "rake"
Vector = "Tempest"
CCITT = Comite Consultatif International Telephonique et Telegraphique
G3/G4 Fax format
ITU-T = International Telecommunications Union - Telephony
TIFF Tagged Image File Format
BMP Bitmap
stride <- width
stripe
striqe
stribe
edge case: edge case
corner case: corner case
JPEG: Joint Photographic Experts Group
MPEG: Moving Picture Experts Groups
JBIG
PNG
JPEG-LS
GIF
Some monitors are round.
bit = binary digit
binit
grayscale = monochrome
Lab, YCbCr, RGB, CMY, ABC, XYZ <- CIE
8 color, 16 color, 8 bit color, 16 bit color, 24 bit color
Font files
Printer languages
CCD <-> LED
video memory
raster ops
drawing fonts