QB64 Phoenix Edition
Save Image v2.3d - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Expanding Horizons (Libraries) (https://staging.qb64phoenix.com/forumdisplay.php?fid=21)
+---- Forum: SMcNeill (https://staging.qb64phoenix.com/forumdisplay.php?fid=22)
+---- Thread: Save Image v2.3d (/showthread.php?tid=20)



Save Image v2.3d - SMcNeill - 04-17-2022

Extended description and all to come later.  For now, I just wanted a place to make this library available once more -- the SaveImage Library!  For exporting and saving screenshots of your QB64 programs from within your programs themselves.


RE: Save Image v2.3d - Robert Claypool - 04-04-2023

QBPE says Illegal SUB/FUNCTION parameter for SUBs and functions that are passed JPEGState


RE: Save Image v2.3d - mnrvovrfc - 04-04-2023

There is a BI file and a BM file. Make sure the BI file is near the top of your program as '$INCLUDE: statement, and the BM file is preferably included with '$INCLUDE: as the last line of your program. The "JPEGstate" UDT is defined in the BI file, and therefore the BI file has to be included before executable statements of a QB64 program.


RE: Save Image v2.3d - Robert Claypool - 04-04-2023

I just loaded the demo.


RE: Save Image v2.3d - bplus - 04-04-2023

For an example of using SaveImage here is not a lengthy code example from Spring Banner Contest:
https://staging.qb64phoenix.com/showthread.php?tid=1527&pid=14291#pid14291


RE: Save Image v2.3d - SMcNeill - 04-05-2023

Do you have the option selected to Output Source to EXE folder in the QB64PE menu?   It may make a difference in the library files being found and loading properly.


RE: Save Image v2.3d - Robert Claypool - 04-05-2023

It's finding the files. It's just a weird compiler error that is complaining about what it is parsing and not that it's not finding files.