mirror of
https://github.com/theKapcioszek/fremen-transcriptor.git
synced 2025-04-07 06:34:08 +02:00
working on saving result as a file
This commit is contained in:
parent
608533b754
commit
df2db05f7f
@ -21,3 +21,10 @@ make
|
||||
- [X] Add text box instead of passing an argument
|
||||
- [ ] WebAssembly compilation
|
||||
- [ ] Option to save result as an image
|
||||
|
||||
<br><br>
|
||||
|
||||
<p align=center>
|
||||
<img src="./screenshot.png">
|
||||
</p>
|
||||
|
||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@ -220,6 +220,11 @@ int main(int argc, char *argv[]){
|
||||
|
||||
while(!WindowShouldClose()){
|
||||
|
||||
if(IsKeyPressed(KEY_F2)){
|
||||
Image screenshot = LoadImageFromScreen();
|
||||
ExportImage(screenshot, "screenshot.png");
|
||||
}
|
||||
|
||||
transcript(message, charcters);
|
||||
|
||||
BeginDrawing();
|
||||
|
Loading…
x
Reference in New Issue
Block a user