Hit to all!
I’m struggling guys, I reached a good point but now I need some precious help from you.
In my application (only Windows for now) I need to preview a pdf file inside a component or viewport.
I’ve integrated MuPDF library inside my juce app project (Visual Studio 2012).
I’m facing this problem: trying to feed a juce Image with the raw pixel data coming from MuPDF APIs. Unfortunatelly the facility method
ImageCache::getFromMemory(...) doesn’t work because it cannot recognize the format (jpg, gif and png). My raw data I think is something close to BMP but I’m ot sure, without header.
I’ve tried something using BitmapData class inside Image class but seems I cannot overwrite the uint8 data pointer, right?
Have you any idea to solve the problem?