regression: colon in filename disables auto type by suffix

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
hgabreu

regression: colon in filename disables auto type by suffix

Post by hgabreu »

the following command used to work for years, I don't know exactly which version it stoped working, but it's not working now.
> import -window root "file:name.jpg"
file "file:name.jpg" is created but it's a PS not a JPEG.

I understand that 'jpg:image' will create an file named JPEG file name 'image' but if the string preceding the colon is not a valid type, the inferring by filename suffix should be executed the 'prefix' be considered part of the filename, as it used to do.

I know this is a regression because I wrote a script to capture screenshots that insert the date and time in the filename which always has colons.

ImageMagick 6.6.1-4 2010-04-19 Q16
X.Org X Server 1.7.6 2010-03-17
Linux 2.6.33-ARCH x86_64
Post Reply