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 |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | GrafX2 | Version: | |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (4)
by , 5 years ago
Attachment: | size.patch added |
---|
comment:1 by , 5 years ago
looks good to me.
you could make a Merge request on gitlab :
https://gitlab.com/GrafX2/grafX2
Patch implementing -size commandline parameter