#include "clip.h"
#include "filexml.h"
+#include "language.h"
#include "svg.h"
#include "svgwin.h"
#include <sys/types.h>
#include <sys/mman.h>
-#include <libintl.h>
-#define _(String) gettext(String)
-#define gettext_noop(String) String
-#define N_(String) gettext_noop (String)
-
//#include "empty_svg.h"
REGISTER_PLUGIN(SvgMain)
delete overlayer;
}
-const char* SvgMain::plugin_title() { return N_("SVG via Inkscape"); }
+const char* SvgMain::plugin_title() { return _("SVG via Inkscape"); }
int SvgMain::is_realtime() { return 1; }
int SvgMain::is_synthesis() { return 1; }
if( png_buffer != MAP_FAILED ) {
if( png_buffer[0] == 0x89 && png_buffer[1] == 0x50 &&
png_buffer[2] == 0x4e && png_buffer[3] == 0x47 ) {
- ofrm = new VFrame(png_buffer, st_png.st_size);
+ ofrm = new VFramePng(png_buffer, st_png.st_size, 1., 1.);
if( ofrm->get_color_model() != output->get_color_model() ) {
VFrame *vfrm = new VFrame(ofrm->get_w(), ofrm->get_h(),
output->get_color_model());