| T O P I C    R E V I E W | 
               
              
                | stwizard | 
                Posted - Dec 09 2020 : 08:07:21  Greetings All,
  I load both PDF and TIFF files into an ImageEnMView to show thumbnails and then the selected thumb I load into an ImageEnVect to show full size documents.
  If I load a tiff I use:  ImageEnMView1.MIO.LoadFromFile(FileName);
  If I load a PDF I use: ImageEnMView1.LoadFromFileOnDemand(FileName);
  Using ImageEn and WPViewPDF, I load a 1 page pdf that contains only black text on a white background.  The size of the file is 16 KB.  If I rotate the page 90 degrees and save it, the file size is now 24,655 KB.  I'm sure that I'm doing something wrong.
  I rotate and save both PDF and TIFF files with the following code: //* Thumbnail ImageEnMView1.Proc.Rotate(-90); ImageEnMView1.UpdateImage(ImageEnMView1.SelectedImage);
  //* Image in the document viewer ImageEnVect1.Proc.Rotate(-90);
  ImageEnMView1.MIO.SaveToFile(FileName);
  Can anyone tell me what I need to do to maintain the same size file?
  Thanks, Mike | 
               
              
                | 1   L A T E S T    R E P L I E S    (Newest First) | 
               
              
                | xequte | 
                Posted - Dec 09 2020 : 16:18:20  Hi Mike
  PDF files are not supported natively by ImageEn as it's a document format. WPViewPDF converts the document to an image, so if you then save it in ImageEn you are saving a PDF containing an image, not a PDF document.
 
 
  Nigel  Xequte Software www.imageen.com
  | 
               
             
           | 
         
       
       
     |