Enable PREVIEW pseudo format
Enable PREVIEW pseudo format
I am installing imagemagick, and having everything set up properly. The only problem is that PREVIEW format is not there as well as few other formats such as GBR, GRB, RBG and BRG. Those formats we used to have them in version 6. Now with version 7.0.4-10, I can't have them. Any help is much appreciated.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Enable PREVIEW pseudo format
According to the format page for IM 6, there was never any GBR, GRB, and BRG formats, only RGB. Perhaps that was an undocumented feature for raw images? I cannot say since I never used raw format images before. But you can create an RGB format and then swap channels afterwards.
However, there is a PREVIEW in both IM 6 and IM 7, but the option -preview does not work in IM 7.
IM 6.9.8.10 Q16 (works fine)
IM 7.0.6.1 Q16 (fails)
magick: unrecognized option `-preview' at CLI arg 2 @ error/operation.c/CLISettingOptionInfo/1235.
I will report this as a bug.
However, there is a PREVIEW in both IM 6 and IM 7, but the option -preview does not work in IM 7.
IM 6.9.8.10 Q16 (works fine)
Code: Select all
convert logo: -preview oilpaint PREVIEW:tmp.png
IM 7.0.6.1 Q16 (fails)
Code: Select all
magick logo: -preview oilpaint PREVIEW:tmp.png
I will report this as a bug.
- GeeMack
- Posts: 718
- Joined: 2015-12-01T22:09:46-07:00
- Authentication code: 1151
- Location: Central Illinois, USA
Re: Enable PREVIEW pseudo format
I ran this command with v6.9.7-6 in Windows and v6.7.7-10 in bash....
Code: Select all
convert -list format | grep PREVIEW
Code: Select all
PREVIEW* -w- Show a preview an image enhancement, effect, or f/x
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Enable PREVIEW pseudo format
It is not PREVIEW that is missing, but -preview which is needed by PREVIEW. See http://www.imagemagick.org/script/formats.php#pseudo where it says:
"PREVIEW W Show a preview an image enhancement, effect, or f/x Creates a preview montage of images prepared over a parametric range in order to assist with parameter selection. Specify the desired preview type via the -preview option)."
See http://www.imagemagick.org/script/comma ... hp#preview
"PREVIEW W Show a preview an image enhancement, effect, or f/x Creates a preview montage of images prepared over a parametric range in order to assist with parameter selection. Specify the desired preview type via the -preview option)."
See http://www.imagemagick.org/script/comma ... hp#preview
Re: Enable PREVIEW pseudo format
The problem with that is that even when typing
> convert -list format | grep PREVIEW
I get nothing in return. The PREVIEW is not listed in the format list.
> convert -list format | grep PREVIEW
I get nothing in return. The PREVIEW is not listed in the format list.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Enable PREVIEW pseudo format
That is because it is not an image format, but a pseudo-image format that only Imagemagick provides. See http://www.imagemagick.org/script/formats.php#pseudo
Re: Enable PREVIEW pseudo format
If that's the case, i don't understand why I can see PLASMA PANGO HALD and all other pseudo formats, except that PREVIEW one?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Enable PREVIEW pseudo format
Looks like IM is including pseudo-image formats in the list of formats. So I would say that it is just an oversight in the IM 7 docs. I will report that as a bug.