Search found 42 matches

by tackd
2018-10-27T09:50:05-07:00
Forum: Users
Topic: Extend Canvas with unknown color, maintain content size...
Replies: 18
Views: 14503

Re: Extend Canvas with unknown color, maintain content size...

snibgo, Every scanned document has a varying size since they were scanned with an "auto crop" feature. I therefore can't enter pixel dimensions individually as in your advanced example. The only constant I know is the resulting size US Letter @ 300 dpi , 2550x3300 I don't know if you wante...
by tackd
2018-10-27T09:43:25-07:00
Forum: Users
Topic: Correction To Tilt-Shift Real Estate Image...
Replies: 10
Views: 8152

Correction To Tilt-Shift Real Estate Image...

Hi. This image was shot at a slant with a Tilt-Shift applied either with software or a Tilt-Shift lens to correct vericals straight. https://imagizer.imageshack.us/a/img924/9284/uaE0Qe.jpg Photoshop straightening,perspective correction tools did not fare well with this image. I fear a re-shoot will ...
by tackd
2018-10-27T09:19:57-07:00
Forum: Users
Topic: Extend Canvas with unknown color, maintain content size...
Replies: 18
Views: 14503

Re: Extend Canvas with unknown color, maintain content size...

Thank you for your review snibgo.

I don't know how to incorporate your example into my existing Code to
extend the edge color to pad the canvas to a specific size, and maintain the original content size.

Regards
by tackd
2018-10-27T04:09:01-07:00
Forum: Users
Topic: Extend Canvas with unknown color, maintain content size...
Replies: 18
Views: 14503

Extend Canvas with unknown color, maintain content size...

System; Linux Mint 18.3 ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 Source: Scanned Typed Document, [US Letter 8.5x11 inches], (2550 x 3300 x 300 dpi) Objective: deskew the above typed letter, and extend borders for padded fit, centered 'without' changing the size of the typed content. convert <image>...
by tackd
2018-10-25T05:54:12-07:00
Forum: Users
Topic: Deskew Text, maintain Text size & Original Dimensions...
Replies: 6
Views: 5384

Re: Deskew Text, maintain Text size & Original Dimensions...

Thanks for all your help snibgo.

I ended up with;

Code: Select all

convert img20181022_0003.png -filter catrom -sigmoidal-contrast 10,50% -deskew 40% +repage -gravity south -extent 2550x3300 img20181022_0003.tif
Best regards
by tackd
2018-10-24T17:10:33-07:00
Forum: Users
Topic: Deskew Text, maintain Text size & Original Dimensions...
Replies: 6
Views: 5384

Re: Deskew Text, maintain Text size & Original Dimensions...

Snibgo, Thank you for your input. After much experimentaion, and removing the "auto-crop", I added your suggestion, (-extent 2550x3300). convert img20181022_0003.png -sigmoidal-contrast 10,50% -deskew 40% -extent 2550x3300 img20181022_0003.tif Result: 2550x3300 (Finally ! Thanks again) Wor...
by tackd
2018-10-24T16:12:39-07:00
Forum: Users
Topic: Deskew Text, maintain Text size & Original Dimensions...
Replies: 6
Views: 5384

Re: Deskew Text, maintain Text size & Original Dimensions...

convert img20181022_0003.png -set option:deskew:auto-crop true -sigmoidal-contrast 10,50% -deskew 40% +repage img20181022_0003_%02d.png Original size: 2550 x 3300 Result size: 2452 x 3164 Does anyone know how to keep the original dimensions and size of the text unchanged after a deskew ? Thank you....
by tackd
2018-10-24T03:27:38-07:00
Forum: Users
Topic: Deskew Text, maintain Text size & Original Dimensions...
Replies: 6
Views: 5384

Deskew Text, maintain Text size & Original Dimensions...

System; Linux Mint 18.3 ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 Source: US Letter Scanned Typed Letter (2550 x 3300 x 300 dpi) Objective; deskew maintain original text size (no magnification) resulting size same as original (2550 x 330 x 300dpi) I have tried many incarnations, the most recent is; ...
by tackd
2018-07-28T09:01:12-07:00
Forum: Users
Topic: Compare .jpg original to saved .tif
Replies: 3
Views: 2397

Re: Compare .jpg original to saved .tif

-----------------------------------Method 2 Failed------------------------------------------------------- 1. Original : https://unsplash.com/photos/pHANr-CpbYM 2. Filename: wil-stewart-18242-unsplash.jpg 3. Export to uncompressed .tif (Below: XnViewMP v.90) https://biz.kwamsook.com/ImageMagick/Expor...
by tackd
2018-07-27T23:29:03-07:00
Forum: Users
Topic: Compare .jpg original to saved .tif
Replies: 3
Views: 2397

Compare .jpg original to saved .tif

If I open an original .jpg file (original.jpg), and then save as .tif (saved.tif) without any edits or changes... Souldn't the 2 images be the same since .tif does not recompress ? When I do the above and use; $ compare original.jpg saved.tif ComparedResult.png Shouldn't there be no 'red' marks desi...
by tackd
2017-03-24T02:00:44-07:00
Forum: Users
Topic: convert -distort resize / Keep EXIF
Replies: 2
Views: 4838

Re: convert -distort resize / Keep EXIF

Wow.

Thank you so much fmw42.
Worked great;

Code: Select all

convert -define tiff:exif-properties=true DSC_0622-F.tif -colorspace RGB -filter Catrom -density 72 -units PixelsPerInch -distort resize 3000 -colorspace sRGB Result.tif
[SOLVED]
by tackd
2017-03-23T12:27:17-07:00
Forum: Users
Topic: convert -distort resize / Keep EXIF
Replies: 2
Views: 4838

convert -distort resize / Keep EXIF

System : Debian 64 Sid Imagemagick : Version: 6.9.7.4+dfsg-2 Image DSC_0622-F.tif TIFF 6000x4000 6000x4000+0+0 8-bit sRGB 72.12MB 0.000u 0:00.009 I wish not to loose exif when doing the below conversion... convert DSC_0622-F.tif -colorspace RGB -filter Catrom -density 72 -units PixelsPerInch -distor...
by tackd
2014-06-23T23:44:22-07:00
Forum: Users
Topic: Distort sharpening from photo reduction
Replies: 7
Views: 6245

Re: Distort sharpening from photo reduction

Since the stretching is an unknown and you have not replied on if distort adds any additional benefit e.g. -distort Resize vs. -resize... I'll have to leave it off to get my work done this evening. Thank you much for your time. Best regards. http://www.imagemagick.org/Usage/resize/#distort_resize Th...
by tackd
2014-06-23T18:15:43-07:00
Forum: Users
Topic: Distort sharpening from photo reduction
Replies: 7
Views: 6245

Re: Distort sharpening from photo reduction

fmw42. Thanks, I'll elaborate. My objective is to reduce over 3000 pixel wide, 240 dpi landscape photography (.tif) to 1024, 72 dpi Jpeg. I've tried various filters and am satisfied with the Lagrange. Someone recommended to use the 'distort' filter to increase the quality... I noticed an increased '...
by tackd
2014-06-23T09:51:51-07:00
Forum: Users
Topic: Distort sharpening from photo reduction
Replies: 7
Views: 6245

Re: Distort sharpening from photo reduction

Thanks fmw42.

Is your fix to prevent the distortion on the result ?

Am I using the 'distort' option correctly and is the distort option beneficial ?

Regards.