mirror of
https://github.com/theKapcioszek/fremen-transcriptor.git
synced 2025-04-09 15: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
|
- [X] Add text box instead of passing an argument
|
||||||
- [ ] WebAssembly compilation
|
- [ ] WebAssembly compilation
|
||||||
- [ ] Option to save result as an image
|
- [ ] 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()){
|
while(!WindowShouldClose()){
|
||||||
|
|
||||||
|
if(IsKeyPressed(KEY_F2)){
|
||||||
|
Image screenshot = LoadImageFromScreen();
|
||||||
|
ExportImage(screenshot, "screenshot.png");
|
||||||
|
}
|
||||||
|
|
||||||
transcript(message, charcters);
|
transcript(message, charcters);
|
||||||
|
|
||||||
BeginDrawing();
|
BeginDrawing();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user