Commit a90c9d04 authored by Claes Sjofors's avatar Claes Sjofors

co_convert to postscript, search for image on added

parent 1a02c663
...@@ -466,7 +466,15 @@ int CnvToPs::print_image( const char *filename) ...@@ -466,7 +466,15 @@ int CnvToPs::print_image( const char *filename)
dcli_translate_filename( fname, fname); dcli_translate_filename( fname, fname);
sts = cnv_get_image( fname, &image, &pixmap); sts = cnv_get_image( fname, &image, &pixmap);
if ( EVEN(sts)) return 0; if ( EVEN(sts)) {
// Try $pwrp_exe
strcpy( fname, "$pwrp_exe/");
strcat( fname, filename);
dcli_translate_filename( fname, fname);
sts = cnv_get_image( fname, &image, &pixmap);
if ( EVEN(sts)) return 0;
}
} }
width = cnv_image_width( image); width = cnv_image_width( image);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment