Hi
I'm working on PDF to Image Converter
I made tool which to select Folder or Directory then It will convert each PDF file to an image..
But I still have some problems.
QString fileName
= fileInfo.
fileName();
int page = 1;
int large = 1000;
QFileInfo fixurl
(lineEditSorceFolder
->text
()+"/"+fileName
);
pdfFile = LoadPDF( fixurl.absoluteFilePath() ,page,large);
scaledsimage.save(&buffer,"PNG",100);
QString fileName = fileInfo.fileName();
QPixmap pdfFile;
QPixmap scaledsimage;
int page = 1;
int large = 1000;
QFileInfo fixurl(lineEditSorceFolder->text()+"/"+fileName);
pdfFile = LoadPDF( fixurl.absoluteFilePath() ,page,large);
QByteArray bytes;
QBuffer buffer(&bytes);
buffer.open(QIODevice::ReadWrite);
scaledsimage.save(&buffer,"PNG",100);
To copy to clipboard, switch view to plain text mode
It's seem It dose the PDF.. but
the image dose not come out at all..
I have tested to draw something on the image and it dose work.
Please, I need help.. I do not know if there is any easier way to Process that..
Best Regards
Bookmarks