최근 한 사이트에서 다른 사이트로 사이트를 이동해야만했습니다. Fred's 3Drotate script은 이미지 데이터 대신 이미지 설정을 포함하는 파일을 만듭니다. 스크립트를 처음 실행했을 때 다음과 같은 오류가 나타났습니다.Imagemagick & 3Drotate
expr: warning: unportable BRE: `^[0-9][0-9]*$': using `^' as the first character of the basic regular expression is not portable; it is being ignored expr: warning: unportable BRE: `^[+-][0-9][0-9]*$': using `^' as the first character of the basic regular expression is not portable; it is being ignored expr: warning: unportable BRE: `^[0-9]*[\\.][0-9]*$': using `^' as the first character of the basic regular expression is not portable; it is being ignored expr: warning: unportable BRE: `^[+-][0-9]*[\\.][0-9]*$': using `^' as the first character of the basic regular expression is not portable; it is being ignored
'^'문자의 각 인스턴스를 제거하여이 문제를 해결할 수있었습니다. 스크립트가 실행되고 몇백 킬로바이트의 파일이 생성되지만 내용은 다음과 같은 구성으로 나타납니다.
id=MagickCache
quantum-depth=16
class=DirectClass colors=0 matte=False
columns=500 rows=500 depth=8
colorspace=sRGB
compression=JPEG quality=75
units=PixelsPerInch
resolution=72x72
page=500x500+0+0
rendering-intent=Perceptual
gamma=0.454545
red-primary=0.64,0.33 green-primary=0.3,0.6 blue-primary=0.15,0.06
white-point=0.3127,0.329
date:create=2012-08-10T20:44:21-07:00
date:modify=2012-08-10T20:44:21-07:00
jpeg:colorspace=2
jpeg:sampling-factor=2x2,1x1,1x1
아이디어가 있으십니까? 나는 원래의 서버
에 있던 것보다 새로운 imagemagick 버전 6.7.8-9를 실행하고 있는데 어떤 버전이
인지 알지 못합니다.
업데이트 :
내가 3/11/10에 프레드 개정 3DRotate를 사용하여 CentOS는 상자입니다. ImageMagick은 6.7.8-9 버전입니다. 이전 서버 인 CentOS도 6.7.6-0 버전을 사용하고있었습니다.
하고 새 서버가 실행?!? –
그래서 변경 내용이 무엇인지 이해하지 않고 스크립트를 변경 한 다음 이미지 데이터 대신에 이미지 매김 설정이있는 파일을 만듭니다 "라고 불평합니다. *?!? :-) –