Ignore:
Timestamp:
Dec 5, 2007, 10:50:44 AM (17 years ago)
Author:
garnier
Message:

amelioration du ticket #66

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r635 r636  
    11201120    }   
    11211121    // jpeg format
    1122     if (nomFich.endsWith(".jpg") ||
    1123         nomFich.endsWith(".jpeg")) {
    1124       // grabFrameBuffer() :: Returns an image of the frame buffer. If withAlpha is true the alpha channel is included.
    1125       image.save(nomFich,0,exportDialog->getSliderValue());
    1126 #ifdef GEANT4_QT_DEBUG
    1127       printf("saving jpeg quality : %d\n",exportDialog->getSliderValue());
    1128 #endif
    1129     } else if (nomFich.endsWith(".eps")) {
     1122    if (nomFich.endsWith(".eps")) {
    11301123      generateEPS(nomFich,exportDialog->getNbColor(),image);
    11311124    } else if (nomFich.endsWith(".ps") ||nomFich.endsWith(".pdf")) {
     
    11341127               nomFich.endsWith(".tiff") ||
    11351128               nomFich.endsWith(".jpg") ||
     1129               nomFich.endsWith(".jpeg") ||
    11361130               nomFich.endsWith(".png") ||
    11371131               nomFich.endsWith(".bmp") ||
Note: See TracChangeset for help on using the changeset viewer.