@GalliezB wrote:
Hello,
I try to create an image bigger than the screen :
`
ofApp.h :ofImage ,imgSaver,imgLoader; ofFbo fbo; ofPixels pix;
`
`
ofApp.cpp :imgLoader.load("input.jpg"); pix.allocate(3840,2560,OF_IMAGE_COLOR); fbo.allocate(3840,2560); fbo.begin(); fbo.clear(); for(int x=0;x<121;x++){ for(int y=0; y<81; y++){ imgLoader.drawSubsection(32*x,32*y,32,32,384,0,32,32); } } fbo.readToPixels(pix); ofSaveImage(pix,"output.jpg",OF_IMAGE_QUALITY_BEST); fbo.end();
`
But the output is only grey. I have found a lot of answer in the forum ( so here).
It work fine, but alone for the size of the window. Is it possible to save an image bigger than the window ?
Posts: 3
Participants: 2