fix entry point display and remove spurious newlines
This commit is contained in:
parent
38ec4249b8
commit
84a3616796
1 changed files with 2 additions and 6 deletions
|
@ -52,7 +52,6 @@ on MacOS via `brew install imagemagick`.
|
|||
|
||||
### Mac: Homebrew
|
||||
|
||||
|
||||
```sh
|
||||
brew install tiv
|
||||
```
|
||||
|
@ -87,8 +86,8 @@ and [tiv_lib.cc](https://github.com/stefanhaustein/TerminalImageViewer/blob/mast
|
|||
|
||||
The main entry point is
|
||||
|
||||
```CharData findCharData(GetPixelFunction get_pixel, int x0, int y0,
|
||||
const int &flags)
|
||||
```cpp
|
||||
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.
|
||||
|
@ -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
|
||||
cell of the image, and returns these in a CharData struct.
|
||||
|
||||
|
||||
|
||||
|
||||
## 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.
|
||||
|
|
Loading…
Reference in a new issue