Skip to content

mattiasgustavsson/crtview

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

build

crtview

View any image with my CRT filter applied Use Up/Down cursor keys to toggle display mode Use F11 to toggle fullscreen ESC to exit

Pass the filename of your image as command-line parameter (or just drag-drop it onto the EXE)

Pre-built binaries can be found here: https://mattiasgustavsson.itch.io/crtview

Build instructions

Windows

From a Visual Studio command prompt:

cl source\main.c

Mac

clang source/main.c -lSDL2 -lGLEW -framework OpenGL

SDL2 and GLEW are required - if you don't have then installed you can do so by running

brew install sdl2 glew

Linux

gcc source/main.c -lSDL2 -lGLEW -lGL -lm -lpthread

SDL2 and GLEW are required - if you don't have them installed you can do so by running

sudo apt-get install libsdl2-dev
sudo apt-get install libglew-dev

About

View any image with my CRT filter applied

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages