Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- colorOutput_t *out = NULL;
- //yi->paramsClearAll();
- yi->paramsSetString("type", "tga");
- yi->paramsSetInt("width", 640);
- yi->paramsSetInt("height", 480);
- imageHandler_t *ih = yi->createImageHandler("outFile", true);
- if(ih)
- {
- out = new imageOutput_t(ih, "test.png", 0, 0);
- if(!out) return 1;
- }
- else return 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement