Projet

Général

Profil

Révision ba28c089

Voir les différences:

webphotoalbum.cpp
296 296

  
297 297
    //================== on copie les metadata
298 298
    try {
299
        Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(fic.toStdString());
300
        Exiv2::Image::AutoPtr imageLQ = Exiv2::ImageFactory::open(QString("%1/lq/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber).toStdString());
301
        Exiv2::Image::AutoPtr imageMQ = Exiv2::ImageFactory::open(QString("%1/mq/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber).toStdString());
302
        Exiv2::Image::AutoPtr imageHQ = Exiv2::ImageFactory::open(QString("%1/hq/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber).toStdString());
303
        Exiv2::Image::AutoPtr imageThumb = Exiv2::ImageFactory::open(QString("%1/thumbs/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber).toStdString());
299
        Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open((const char*) (QFile::encodeName(fic)));
300
        Exiv2::Image::AutoPtr imageLQ = Exiv2::ImageFactory::open((const char*) (QFile::encodeName(QString("%1/lq/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber))));
301
        Exiv2::Image::AutoPtr imageMQ = Exiv2::ImageFactory::open((const char*) (QFile::encodeName(QString("%1/mq/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber))));
302
        Exiv2::Image::AutoPtr imageHQ = Exiv2::ImageFactory::open((const char*) (QFile::encodeName(QString("%1/hq/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber))));
303
        Exiv2::Image::AutoPtr imageThumb = Exiv2::ImageFactory::open((const char*) (QFile::encodeName(QString("%1/thumbs/img-%2.jpg").arg(m_currentProjectDir).arg(m_currentProjectPictureNumber))));
304 304
        if (image.get() != 0)
305 305
        {
306 306
            image->readMetadata();

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux