A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Cropping 50 images to the same bottom left corner



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old October 29th 18, 07:13 PM posted to rec.photo.digital,alt.windows7.general
George P
external usenet poster
 
Posts: 10
Default Cropping 50 images to the same bottom left corner

I need to crop 50 Windows screen shots to the bottom left corner.
The initial screen shots were taken with Irfanview on Windows.
I can't do them again as the conditions have changed.
Is there an easy method to crop 50 images using the same dimensions?
  #2  
Old October 29th 18, 07:15 PM posted to rec.photo.digital,alt.windows7.general
nospam
external usenet poster
 
Posts: 4,718
Default Cropping 50 images to the same bottom left corner

In article , George P
wrote:

I need to crop 50 Windows screen shots to the bottom left corner.
The initial screen shots were taken with Irfanview on Windows.
I can't do them again as the conditions have changed.
Is there an easy method to crop 50 images using the same dimensions?


batch crop in lightroom.
  #3  
Old October 29th 18, 07:42 PM posted to rec.photo.digital,alt.windows7.general
Mayayana
external usenet poster
 
Posts: 6,438
Default Cropping 50 images to the same bottom left corner

"George P" wrote

|I need to crop 50 Windows screen shots to the bottom left corner.
| The initial screen shots were taken with Irfanview on Windows.
| I can't do them again as the conditions have changed.
| Is there an easy method to crop 50 images using the same dimensions?

IrfanView can crop them if you give it a height
or width, but if you have different sizes that might
not work.

www.jsware.net/jsware/pprep.php5

(Shareware but free with nag screen at start.)

Open the options window and select a custom
crop dimension, if necessary.
Drop the folder of images onto the window.
Check the option to crop.
Select the orientation and ratio.
Choose whether you want BMP result or JPG
in a choice of resolutions.

Process the images.

Note that if you now have JPGs you're going
to lose resolution each time you process them.
Depending on what you need, and how much you're
going to work on the images, you might want
to save as BMP. You can then make a final save
in JPG if you need small file size or PNG/TIF if
you want a more compact file but don't want
to sacrifice quality.



  #4  
Old October 29th 18, 07:45 PM posted to rec.photo.digital,alt.windows7.general
nospam
external usenet poster
 
Posts: 4,718
Default Cropping 50 images to the same bottom left corner

In article , Mayayana
wrote:

Note that if you now have JPGs you're going
to lose resolution each time you process them.


nope.

what's lost is *quality*, not resolution, and with the highest quality
jpeg, it's almost indistinguishable.
  #5  
Old October 29th 18, 08:43 PM posted to rec.photo.digital,alt.windows7.general
Paul in Houston TX[_2_]
external usenet poster
 
Posts: 999
Default Cropping 50 images to the same bottom left corner

George P wrote:
I need to crop 50 Windows screen shots to the bottom left corner.
The initial screen shots were taken with Irfanview on Windows.
I can't do them again as the conditions have changed.
Is there an easy method to crop 50 images using the same dimensions?


I just tried it with Irfan on 30 photos and it took less than one second.
batch conversion / advanced / etc
  #6  
Old October 30th 18, 01:06 AM posted to rec.photo.digital,alt.windows7.general
George P
external usenet poster
 
Posts: 10
Default Cropping 50 images to the same bottom left corner

On Mon, 29 Oct 2018 15:43:58 -0500, Paul in Houston TX
wrote

I just tried it with Irfan on 30 photos and it took less than one second.
batch conversion / advanced / etc


This worked.

I had used Irfanview before to take the screen shots but it was
complicated to calculate the original x and y positions and width and
length by hand.

In this batch conversion / advanced / screen there was a lovely button
named ^Get current sel.^ which ran the X/Y/Length/Width calculation for me
from a sweep of the rectangular area of the largest needed area.

I did not know of this automatic x/y/length/width calculator until now!
  #7  
Old October 30th 18, 07:27 AM posted to rec.photo.digital,alt.windows7.general
Ammammata
external usenet poster
 
Posts: 209
Default Cropping 50 images to the same bottom left corner

Il giorno Tue 30 Oct 2018 02:06:52a, *George P* ha inviato su
alt.windows7.general il messaggio news cosa ha scritto:

I just tried it with Irfan on 30 photos and it took less than one
second. batch conversion / advanced / etc


This worked.



if you dare to try faststone, it has similar functions

http://www.faststone.org/FSViewerDetail.htm



--
/-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\
-=- -=- -=- -=- -=- -=- -=- -=- - -=-
http://www.bb2002.it

............ [ al lavoro ] ...........
  #8  
Old October 30th 18, 02:49 PM posted to rec.photo.digital,alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Cropping 50 images to the same bottom left corner

In message 12,
Ammammata writes:
Il giorno Tue 30 Oct 2018 02:06:52a, *George P* ha inviato su
alt.windows7.general il messaggio news cosa ha scritto:

I just tried it with Irfan on 30 photos and it took less than one
second. batch conversion / advanced / etc


This worked.



if you dare to try faststone, it has similar functions

http://www.faststone.org/FSViewerDetail.htm

Would you care to explain why you used the word "dare" (-:?


I've now looked at it (well, the webpage - I've not installed it); from
the list of features, it looks _very_ like IrfanView, with one exception
for me: multilevel undo/redo. (Which is something IrfanView has lacked
for some time: it has undo, but only one level.)

I've downloaded it. Whether I ever get round to trying it, who knows (-:
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

No sense being pessimistic. It wouldn't work anyway.
- Penny Mayes, UMRA, 2014-August
  #9  
Old October 30th 18, 03:46 PM posted to rec.photo.digital,alt.windows7.general
Mayayana
external usenet poster
 
Posts: 6,438
Default Cropping 50 images to the same bottom left corner

"J. P. Gilliver (John)" wrote

| I've now looked at it (well, the webpage - I've not installed it); from
| the list of features, it looks _very_ like IrfanView, with one exception
| for me: multilevel undo/redo. (Which is something IrfanView has lacked
| for some time: it has undo, but only one level.)
|

I think this has been talked about before. Once you
need multi-undo, you probably need an image editor
and not a viewer. IV is a wonderful program that can
do all sorts of things, but using it as an editor is a
case of diminishing returns.


The learning curve is somewhat extreme with
graphic editors, so a lot of people prefer to try to
stretch IV. IV will certainly stretch. But there's a
limit.

For editing there's GIMP, Paint.net, free older
versions of PSP, reasonably priced current versions
of PSP, and probably other good software.

No one needs to try to shoehorn
graphic editing into a viewer. Nor is it necessary to
jump from viewer functionality to overpriced, limited
Adobe products. In general it's not even necessary to
spend money. Graphic operations, for the most part,
are relatively simple and rely on old technology, so
there's a lot of software around.

George P has presented a good example of what
IV is good for: He has 50 screenshots. He doesn't
care what format they are. JPG? Then he's going to
damage them, at least slightly, in the cropping and
resaving. He doesn't care. He apparently has no
plans to touch them up or try to improve them. He
doesn't need good pictures. He just wants to quickly
crop 50 low-grade images. That's a good job for IV.
But if he wanted to do things like brighten, sharpen,
crop intelligently, add text, paste in sections, etc
then he'd be much better off with a full graphic editor
rather than trying to do all that in IV.

To my mind FastStone is a remnant of an earlier
time. Like WinZip, it dates to a time 20 years ago
when the functionality it provides wasn't available
without paying a fairly high price. Windows could
display a BMP, GIF, or JPG back then. That was
about it.
FastStone is free for home use, but that's a bit
silly. They're trying to maintain an outdated business
model. Like buying MS Office Home for $150 rather
than using Libre Office. Even after paying $150, MS
would be claiming I can't legally write a business
letter, create a contract DOC, or design my own
business cards with their software. FastStone is
claiming I can only use their software to look at
pictures and can't do anything that could somehow
lkead to someone making money. Which means I
couldn't even look at pictures if I were doing it at
work. It's a ridiculous and even somewhat sleazy
licensing limitation.


  #10  
Old October 30th 18, 04:20 PM posted to rec.photo.digital,alt.windows7.general
Ammammata
external usenet poster
 
Posts: 209
Default Cropping 50 images to the same bottom left corner

Il giorno Tue 30 Oct 2018 03:49:59p, *J. P. Gilliver (John)* ha inviato su
alt.windows7.general il messaggio . Vediamo
cosa ha scritto:

Would you care to explain why you used the word "dare" (-:?


maybe George P "cares" about his computer and doesn't dare to install
something new

or maybe my English is slowly getting worse...

--
/-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\
-=- -=- -=- -=- -=- -=- -=- -=- - -=-
http://www.bb2002.it

............ [ al lavoro ] ...........
  #11  
Old November 6th 18, 10:25 PM posted to rec.photo.digital,alt.windows7.general
Ian Jackson[_4_]
external usenet poster
 
Posts: 75
Default Cropping 50 images to the same bottom left corner

In message , "J. P. Gilliver (John)"
writes
In message 12,
Ammammata writes:
Il giorno Tue 30 Oct 2018 02:06:52a, *George P* ha inviato su
alt.windows7.general il messaggio news cosa ha scritto:

I just tried it with Irfan on 30 photos and it took less than one
second. batch conversion / advanced / etc

This worked.



if you dare to try faststone, it has similar functions

http://www.faststone.org/FSViewerDetail.htm

Would you care to explain why you used the word "dare" (-:?


I've now looked at it (well, the webpage - I've not installed it); from
the list of features, it looks _very_ like IrfanView, with one
exception for me: multilevel undo/redo. (Which is something IrfanView
has lacked for some time: it has undo, but only one level.)

I've downloaded it. Whether I ever get round to trying it, who knows (-:


I can thoroughly recommend FastStone Image Viewer. It has loads of
tools, and I use it for almost all my photo stuff. It's very easy to
use. It even has an extremely useful screen capture facility (although
FastStone do a dedicated one, which has more facilities). The portable
version seems to be the same as the install version.
--
Ian
  #12  
Old October 29th 18, 10:32 PM posted to rec.photo.digital,alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Cropping 50 images to the same bottom left corner

George P wrote:
I need to crop 50 Windows screen shots to the bottom left corner.
The initial screen shots were taken with Irfanview on Windows.
I can't do them again as the conditions have changed.
Is there an easy method to crop 50 images using the same dimensions?


If the composition of the shot is not changing,
then Irfanview itself has a batch processor with
crop capability.

if the crop target is moving, and you want to
zoom into some moving portion of the tutorial, you'd
need a different tool flow for that. I think some
video editing tools have had "trajectory" capabilities,
to follow moving stuff. But I've never needed such a thing.

It's important to compose your tutorial shots, so that
the post-editing will be easy. Once I start a tutorial, I
try not to move the focus of the session around on the
screen.

*******

I would never printscreen 50 times. I use FFMPEG and
the gdigrab screen recording capability, and record
video as individual pictures ("A00001.jpg" "A00002.jpg"...).
I've recorded as many as 60,000 images in a single
folder, using FFMPEG for capture.

Then, I use Avidemux 2.5 to walk through the video.
I take the frame count off the bottom of the screen,
then flip over to the folder of images and pull the
corresponding A00xxx.jpg picture. In that way, I only
have to "fish" for the exact images I want. Rather than
processing 50 images and throwing away most of them,
I have a tremendous trove of pictures, and the
time I spend, is the time to locate each desired
image after the tutorial is done. Maybe I only have
to note the frame numbers of five frames, then
go grab the like-named file from its folder for
my uploads.

Avidemux has a crop capability. You could crop the
entire folder of images.

I can even capture a few seconds worth and show an example.
In a Command Prompt window...

cd /d F:\TEMP2 # holds ffmpeg.exe and my images

ffmpeg -framerate 1 -f gdigrab -i desktop -f image2 -q:v 1 -c:v mjpeg a%05d.jpg

Press control-c to end capture.

Then I can capture a particular frame later.

I just made my meta tutorial.

1) setting the crop filter in Avidemux 2.5

crop-filter.gif

https://i.postimg.cc/tg7RCwM2/crop-filter.gif

2) Use Avidemux to open the folder of jpegs.
Set the Crop Filter. Save the entire bucket of frames
as an AVI movie sequence.

Open the AVI file again with avidemux.
Save the (cropped) AVI as a sequence of individual frames again.

In the example, I want the name to be a00xxx style, and I only
have to type the letter "a" for the filename, as Avidemux will
append the unique portion after that.

select-jpeg-sequence-to-save.gif

https://i.postimg.cc/VvPzg6LV/select...ce-to-save.gif

3) Now that I have my second folder of cropped JPGs,
I can go back to reviewing the AVI movie (out.avi), frame by frame.
Here, I think frame 11 captures my point well, so
I note I need picture number 11 from the output folder

preview-the-movie-look-for-candidates.gif

https://i.postimg.cc/nrxt7P38/previe...candidates.gif

4) Here, I've double-clicked a0011.jpg in the crop output folder,
and examine my handy work. It opens in Picture and Fax viewer.
The image looks good, so I'm ready for upload (or something).

verify-cropped-image-is-a-good-one.gif

https://i.postimg.cc/L52rhZs2/verify...a-good-one.gif

HTH,
Paul
  #13  
Old October 30th 18, 08:59 PM posted to rec.photo.digital,alt.windows7.general
George P
external usenet poster
 
Posts: 10
Default Cropping 50 images to the same bottom left corner

On Mon, 29 Oct 2018 18:32:47 -0400, Paul wrote

If the composition of the shot is not changing,
then Irfanview itself has a batch processor with
crop capability.


The screen was not changing so I only needed to snap shot a given area.
The quality of the snap shots was not a concern.
The only concern was that it be the same given rectangular bounding box.

I first tried to calculate the given rectangular area with Irfanview
^Options -- Capture Screenshot -- 7) Fixed Screen Rectangle^ but it is
almost impossible to fill out those numbers accurately.
x-pos, y-pos, width, height

They seem simple but if you haven't tried it first you won't realize how
hard it is to get those numbers correct. I guess that is because we never
think about actual pixel numbers on a screen.

What saved the day was that the 50 photos were of the entire screen.
The Irfanview ^File -- Batch Conversion/Rename -- Use advanced options
for bulk resize -- Advanced -- Crop^ section was different.

That crop section has a button called ^Get current selection^ which is
whited out unless you have an image underneath that has a crop selection
area defined.

Even though I was familiar with Irfanview, unless all the conditions are
met that you can't do it on initial screenshot and you can't do it on an
image that doesn't have a crop area already selected, that ^Get current
selection^ doesn't work.

It was only because ^Paul in Houston TX^ said it worked that I kept trying
until I had the right conditions for it to work. Otherwise the calculation
to get the 4 numbers exactly correct is too hard and therefore offputting.
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 10:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.