Page 1 of 1

regression: colon in filename disables auto type by suffix

Posted: 2010-04-29T13:07:51-07:00
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