Click here to Skip to main content
15,890,690 members
Home / Discussions / Graphics
   

Graphics

 
Questionhow can the diffrent DC share the same OpenGL List? Pin
King Tran5-Oct-10 13:47
King Tran5-Oct-10 13:47 
AnswerRe: how can the diffrent DC share the same OpenGL List? Pin
Peter_in_27805-Oct-10 14:32
professionalPeter_in_27805-Oct-10 14:32 
AnswerRe: how can the diffrent DC share the same OpenGL List? Pin
jk chan27-Dec-10 1:06
jk chan27-Dec-10 1:06 
Questiondiffrent DC share the same OpenGL list Pin
King Tran26-Sep-10 3:52
King Tran26-Sep-10 3:52 
AnswerRe: diffrent DC share the same OpenGL list Pin
Sauro Viti18-Oct-10 7:43
professionalSauro Viti18-Oct-10 7:43 
QuestionHelp) Pin
_Mr_xXx_5-Sep-10 0:49
_Mr_xXx_5-Sep-10 0:49 
QuestionCreating MultiFrame images and dramatic increase in file size Pin
CMTietgen5-Aug-10 16:54
CMTietgen5-Aug-10 16:54 
AnswerRe: Creating MultiFrame images and dramatic increase in file size Pin
LunaticFringe5-Aug-10 23:31
LunaticFringe5-Aug-10 23:31 
If you read the documentation accompanying the sample, it says bitmaps are created from the supplied images and then saved in a tiff format; so yes, the images are decompressed before saving. (Tiff supports various compression schemes, but the sample doesn't give any details as to the particulars of the tiff encoder, and the result implies compression of the tiff was minimal, if employed at all.)

If you're just trying to save the original images into a signle 'archive' file, just open a binary file and write the images into it, one after another. That'll preserve whatever encoding/compression scheme was used in the original image files. It'll be up to you to maintain some sort of index data giving file sizes and/or offsets into the binary archive so you can pull individual images out when you want. As you say, you could create a data structure for this purpose and put it at the head of the file where it'd be read first. Make the first member in the structure the number of images it contains, followed by size and offset for each individual image contained in the archive. It should be fairly simple to implement this, once you've worked out the details of your desired scheme.
L u n a t i c F r i n g e

GeneralRe: Creating MultiFrame images and dramatic increase in file size Pin
CMTietgen6-Aug-10 1:29
CMTietgen6-Aug-10 1:29 
QuestionOpenGL draw 3D earth with texture Pin
King Tran3-Aug-10 22:57
King Tran3-Aug-10 22:57 
QuestionSorting colors Pin
Nishad S30-Jul-10 2:06
Nishad S30-Jul-10 2:06 
AnswerRe: Sorting colors Pin
Luc Pattyn30-Jul-10 3:05
sitebuilderLuc Pattyn30-Jul-10 3:05 
GeneralRe: Sorting colors Pin
Nishad S30-Jul-10 3:30
Nishad S30-Jul-10 3:30 
QuestionPage layout library Pin
CodeBrain18-Jun-10 23:09
CodeBrain18-Jun-10 23:09 
QuestionDirect2d CB 6.0 error Pin
VovaL3-Jun-10 2:54
VovaL3-Jun-10 2:54 
AnswerRe: Direct2d CB 6.0 error Pin
Luc Pattyn3-Jun-10 3:08
sitebuilderLuc Pattyn3-Jun-10 3:08 
GeneralRe: Direct2d CB 6.0 error Pin
VovaL3-Jun-10 5:44
VovaL3-Jun-10 5:44 
AnswerRe: Direct2d CB 6.0 error Pin
Pete O'Hanlon3-Jun-10 3:17
mvePete O'Hanlon3-Jun-10 3:17 
QuestionSome questions Pin
Mountainking0229-May-10 3:40
Mountainking0229-May-10 3:40 
AnswerRe: Some questions Pin
Anthony Mushrow29-May-10 4:05
professionalAnthony Mushrow29-May-10 4:05 
GeneralRe: Some questions Pin
Mountainking0230-May-10 10:04
Mountainking0230-May-10 10:04 
QuestionResize Image Pin
Archimedes2412-May-10 3:05
professionalArchimedes2412-May-10 3:05 
AnswerRe: Resize Image Pin
Luc Pattyn12-May-10 3:59
sitebuilderLuc Pattyn12-May-10 3:59 
AnswerRe: Resize Image Pin
El Corazon25-May-10 14:49
El Corazon25-May-10 14:49 
QuestionColor Separations for Printers Pin
Roger Wright5-May-10 5:24
professionalRoger Wright5-May-10 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.