Fix issue with JPG export
This commit is contained in:
parent
928417c3a7
commit
1d2e3a8790
@ -169,7 +169,7 @@ class JPEGExport(inkex.Effect):
|
||||
command = "magick \"%sjpinkexp.png\" -sampling-factor 4:4:4 -strip -interlace JPEG -colorspace RGB -quality %s -density %s \"%s\" " % (tmp, self.options.quality, self.options.density, outfile)
|
||||
# inkex.utils.debug(command)
|
||||
elif find_executable('convert'):
|
||||
command = "convert \"%sjpinkexp.png\" -sampling-factor 4:4:4 -strip -interlace JPEG -colorspace RGB -quality %s -density %s \%s\" " % (tmp, self.options.quality, self.options.density, outfile)
|
||||
command = "convert \"%sjpinkexp.png\" -sampling-factor 4:4:4 -strip -interlace JPEG -colorspace RGB -quality %s -density %s \"%s\" " % (tmp, self.options.quality, self.options.density, outfile)
|
||||
# inkex.utils.debug(command)
|
||||
else:
|
||||
inkex.errormsg(_('ImageMagick does not appear to be installed.'))
|
||||
|
Reference in New Issue
Block a user