#define SampleFactor 5
char
+ filename[MagickPathExtent],
*url,
value[MagickPathExtent];
(void) FormatLocaleString(value,MagickPathExtent,"file://%s",
image->magick_filename);
(void) SetImageProperty(thumbnail_image,"Thumb::URI",value,exception);
- (void) CopyMagickString(value,image->magick_filename,MagickPathExtent);
+ GetPathComponent(image->magick_filename,TailPath,filename);
+ (void) CopyMagickString(value,filename,MagickPathExtent);
if ( GetPathAttributes(image->filename,&attributes) != MagickFalse )
{
(void) FormatLocaleString(value,MagickPathExtent,"%.20g",(double)