Search found 59 matches

by jaffamuffin
2015-04-16T03:18:24-07:00
Forum: Users
Topic: distort SRT internal crop example not working for me
Replies: 9
Views: 11679

distort SRT internal crop example not working for me

Hi All edit - my os and ver sion is first machine PsInfo v1.77 - Local and remote system information viewer Copyright (C) 2001-2009 Mark Russinovich Sysinternals - www.sysinternals.com System information for \\HPWS02: Uptime: 4 days 22 hours 16 minutes 26 seconds Kernel version: Windows 7 Profession...
by jaffamuffin
2014-11-21T07:03:46-07:00
Forum: Users
Topic: Removing noise from scanned text document
Replies: 9
Views: 39160

Re: Removing noise from scanned text document

http://imgur.com/lcMhTp8

I ran it through 'halftone filter' in ISIS standard image processing toolkit. You really need better scans though, or supply a greyscale image, that could be thresholded using a adaptive thresholding technique.
by jaffamuffin
2014-11-19T06:57:49-07:00
Forum: Users
Topic: Extract JPEG from JPG Compressed Tif
Replies: 2
Views: 5490

Re: Extract JPEG from JPG Compressed Tif

Thanks for the confirmation. It's probably workable, but obviously not ideal.
by jaffamuffin
2014-11-19T03:17:22-07:00
Forum: Users
Topic: Extract JPEG from JPG Compressed Tif
Replies: 2
Views: 5490

Extract JPEG from JPG Compressed Tif

Hi all I've used scantailor to process some images and it outputs the files in TIF (JPEG) format (LZW, deflate, packbit, none or JPEG) Can imagemagick extract the JPEG data and write to a JPEG file without having to re-compress the data within ? I.e. a lossless conversion from JPEG compressed TIF to...
by jaffamuffin
2014-10-22T04:42:54-07:00
Forum: Users
Topic: Croppign black border, improving speed
Replies: 7
Views: 6521

Re: Croppign black border, improving speed

Is there anyway to crop the image and spit out the new image size and/or crop region in one operation ? I say this because i had been writing the crop region to text file like this : R:\001.jpg,3220x4460+1+1 R:\002.jpg,3260x4260+301+201 R:\003.jpg,3220x4460+1+1 R:\004.jpg,3260x4260+301+201 R:\005.jp...
by jaffamuffin
2014-10-22T04:33:39-07:00
Forum: Users
Topic: Croppign black border, improving speed
Replies: 7
Views: 6521

Re: Croppign black border, improving speed

Good point. Thanks
by jaffamuffin
2014-10-22T03:37:50-07:00
Forum: Users
Topic: Croppign black border, improving speed
Replies: 7
Views: 6521

Re: Croppign black border, improving speed

It seems that the command convert 0029.jpg -background black -deskew 60% -bordercolor Black -border 1 -fuzz 90% -trim c:\out.jpg Will actually perform the required operation much faster , so this is what I will go with unless there is a good reason not to use trim ? Do i need a +repage command ? tha...
by jaffamuffin
2014-10-22T02:06:03-07:00
Forum: Users
Topic: Batch script help (Windows)
Replies: 13
Views: 9128

Re: Batch script help (Windows)

Set it up to drag and drop a folder . Can be easier that way. So you script will look in the folder for *.jpg or whatever
by jaffamuffin
2014-10-16T02:23:18-07:00
Forum: Users
Topic: Croppign black border, improving speed
Replies: 7
Views: 6521

Re: Croppign black border, improving speed

You are getting crop parameters, but then doing a "-deskew" before applying that crop. So won't the crop parameters be wrong? The "-border 1" will also make the parameters out (by 1). Ah yes the border will be adding the +1. I deskewed before the crop so that the rectangular pag...
by jaffamuffin
2014-10-15T09:21:15-07:00
Forum: Users
Topic: cat border resize resize/align
Replies: 5
Views: 4355

Re: cat border resize resize/align

you might need to look at using openCV for this kind of thing. There's loads of tutorials out there for detecting grids/shapes/lines and then to transform them is one line of code
by jaffamuffin
2014-10-15T09:17:13-07:00
Forum: Users
Topic: batch convert a folder full of .jpg files to .jp2
Replies: 2
Views: 5190

Re: batch convert a folder full of .jpg files to .jp2

Code: Select all

@echo off
SETLOCAL
SET workdir=%~0
FOR /F %%A IN ('dir %workdir%\*.jpg /B /ON /A-D') DO (
  convert "%workdir%\%%A" "%workdir%\%%~nA.jp2"
)

by jaffamuffin
2014-10-15T07:10:13-07:00
Forum: Users
Topic: Croppign black border, improving speed
Replies: 7
Views: 6521

Croppign black border, improving speed

Hi All I have a bunch of scanned images, these are scanned from a book, and they are scanned left page and right page (i.e. not open book) So this means the left pages have a black border on top left and bottom and the right pages have border on top right and left. the border is approx 1 inch at 300...
by jaffamuffin
2013-04-29T08:11:27-07:00
Forum: Users
Topic: jpeg file does not read in microsoft photo viewer
Replies: 10
Views: 23923

Re: jpeg file does not read in microsoft photo viewer

EMC Captiva Quickscan 4.5 Indeed, but either Quickscan is producing a faulty file that is readable by everything except Photo Viewer, or Photo Viewer is broken. Jusging by cursory internet searches there's a lot of people with similar problem and identical error message, presumably they aren't all u...
by jaffamuffin
2013-04-29T06:43:58-07:00
Forum: Users
Topic: jpeg file does not read in microsoft photo viewer
Replies: 10
Views: 23923

Re: jpeg file does not read in microsoft photo viewer

if I do

Code: Select all

convert 0001.jpg 0001_new.jpg
The file size is nearly the same and it opens in Photo Viewer
by jaffamuffin
2013-04-29T02:34:06-07:00
Forum: Users
Topic: jpeg file does not read in microsoft photo viewer
Replies: 10
Views: 23923

Re: jpeg file does not read in microsoft photo viewer

Brilliant. a Photo Viewer that doesn't view photos. Thats' the same message I was getting. I can't find any info on what they have changed and why that jpeg seems to be a problem./deemed insecure. (although Internet Explorer opens it )