<commit_before>#ifndef SOFA_COMPONENTS_IMAGEPNG_H
#define SOFA_COMPONENTS_IMAGEPNG_H

#include "Common/Image.h"
#include <string>
#include <assert.h>

namespace Sofa
{

namespace Components
{

using namespace Common;

#ifdef SOFA_HAVE_PNG

class ImagePNG : public Image
{
public:
    ImagePNG ()
    {
    }

    ImagePNG (const std::string &filename)
    {
        load(filename);
    }

    bool load(const std::string &filename);
    bool save(const std::string &filename);
};

#else
#warning PNG not supported. Define SOFA_HAVE_PNG in sofa.cfg to activate.
#endif

} // namespace Components

} // namespace Sofa

#endif<commit_msg>r424/sofa-dev : FIX compilation<commit_after>#ifndef SOFA_COMPONENTS_IMAGEPNG_H
#define SOFA_COMPONENTS_IMAGEPNG_H

#include "Common/Image.h"
#include <string>
#include <assert.h>

namespace Sofa
{

namespace Components
{

using namespace Common;

#ifdef SOFA_HAVE_PNG

class ImagePNG : public Image
{
public:
    ImagePNG ()
    {
    }

    ImagePNG (const std::string &filename)
    {
        load(filename);
    }

    bool load(const std::string &filename);
    bool save(const std::string &filename);
};

#else
// #warning not supported by MSVC
//#warning PNG not supported. Define SOFA_HAVE_PNG in sofa.cfg to activate.
#endif

} // namespace Components

} // namespace Sofa

#endif
{'fraction_non_alphanumeric': 0.1042296072507553, 'fraction_numerical': 0.0022658610271903325, 'mean_word_length': 3.800724637681159, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '338283', 'n_tokens_mistral': 470, 'n_tokens_neox': 453, 'n_words': 116}