Page 1 of 1
					
				CROP  option changed?
				Posted: 2009-05-11T08:34:26-07:00
				by kadkam
				on version 6.3
I using this command line:
convert "test1.png" -crop 3307X4677+0+0 "result.pdf"
I have updated to 6.5
and now the Crop command not function with pdf destinations
why?
			 
			
					
				Re: CROP  option changed?
				Posted: 2009-05-11T08:45:40-07:00
				by magick
				Add +repage just before result.pdf.  Does that give you the expected results?
			 
			
					
				Re: CROP  option changed?
				Posted: 2009-05-11T08:52:01-07:00
				by kadkam
				ok now.
thanks!
only for understand, why +repage need on pdf and not for png result?
			 
			
					
				Re: CROP  option changed?
				Posted: 2009-05-11T10:04:27-07:00
				by fmw42
				
			 
			
					
				Re: CROP  option changed?
				Posted: 2009-05-11T17:01:28-07:00
				by anthony
				Though many formats ignore or don't use a image 'offset' or canvas normally.
JPEG does not save it
PNG only saves offsets but few programs use the offset
and so on.
Obviously the PDF coder does use it.  Probably for positioning images on a page.
In any case +repage resets the offset and sets the page size to the same size as the image itself.
Does anyone have any other information on how PDF images use the pafge/canvas infomation?