fix entry point display and remove spurious newlines

This commit is contained in:
Aaron Liu 2024-03-20 16:29:33 -04:00 committed by GitHub
parent 38ec4249b8
commit 84a3616796
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,6 @@ on MacOS via `brew install imagemagick`.
### Mac: Homebrew ### Mac: Homebrew
```sh ```sh
brew install tiv brew install tiv
``` ```
@ -87,8 +86,8 @@ and [tiv_lib.cc](https://github.com/stefanhaustein/TerminalImageViewer/blob/mast
The main entry point is The main entry point is
```CharData findCharData(GetPixelFunction get_pixel, int x0, int y0, ```cpp
const int &flags) CharData findCharData(GetPixelFunction get_pixel, int x0, int y0, const int &flags)
``` ```
The call takes a std::Function that allows the TIV code to request pixels from your framebuffer. The call takes a std::Function that allows the TIV code to request pixels from your framebuffer.
@ -97,9 +96,6 @@ From this framebuffer, the call will query pixels for a 4x8 pixel rectangle, whe
define the top left corner. The call searches the best unicode graphics character and colors to approximate this define the top left corner. The call searches the best unicode graphics character and colors to approximate this
cell of the image, and returns these in a CharData struct. cell of the image, and returns these in a CharData struct.
## Contributions ## Contributions
- 2019-03-26: Exciting week: @cabelo has fixed output redirection, @boretom has added cross-compilation support to the build file and @AlanDeSmet has fixed tall thumbnails and greyscale images. - 2019-03-26: Exciting week: @cabelo has fixed output redirection, @boretom has added cross-compilation support to the build file and @AlanDeSmet has fixed tall thumbnails and greyscale images.