Opened 5 years ago
Closed 5 years ago
#76 closed enhancement (fixed)
Allow setting image size from commandline
|Reported by:||Philip Linde||Owned by:||pulkomandy|
I would like to minimize the boilerplate setup for an image when I start grafx2, booting right into a picture with the dimensions I need. I suggest having a -size parameter that allows you to specify the picture size from the command line separately from the video mode.
I have a small patch but I haven't spent much time reading the source code, so it may be off from the preferable approach. One consideration is how to handle setting both the size and loading a picture. Ignore it silently, fail, crop image? In my patch it happens to be ignored silently as a side effect.
Change History (4)
by , 5 years ago
comment:1 by , 5 years ago
looks good to me.
you could make a Merge request on gitlab :
comment:2 by , 5 years ago
Thanks for the quick response. I have opened merge request 61.
comment:3 by , 5 years ago
|Status:||new → closed|
Patch implementing -size commandline parameter