I need a program to allow me to crop and scale jpeg images to screen size for creating images for slideshows of photos for public display, it would also work well for creating backdrop images.
What I'm thinking of is something that will load an image and scale it to the same size as wb then display it on it's own screen, next pop up a selection box that is locked to the aspect ratio of the screen. The selection box needs to be resizeable but not able to change the aspect ratio (like using the 4 corner marks in a pagestream box). then when you've selected the area you want it will crop and scale the selected area to fill the screen then save it as a jpg. A basic floading toolbar (window) with load, execute & save buttons would be all the gui that's needed, maybe a docky or appicon for loading...
Anyone interested in creating such a program?
Before you start moaning at me, I know... do it yourself... I can code in blitz but that's only 68k and some commands hit the now non-existing hardware
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
It can be done in a bit different way with gimp (or other image manipulation program, with varying degrees of ease), but I assume you want it custom without any learning curve...
Jack
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
I can do it with ImageFX or ADPro but it's a pain and takes ages, as I have to rough crop to either width or height, scale, fine crop, possibly scale again...
On average I have 200 to 500 pictures to edit at a time so anything that makes it quicker and simpler is good
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
ImageFX has a scripting feature that uses AREXX. I believe that the Hooks use that. AREXX should be similar enough to Basic for you to figure it out. Added to that, ImageFX comes with many AREXX scripts showing you how it's done. You might even be able to automate it to the point that it batch converts an entire drawer.
erm... ages ago, iirc it's some linux port that insists on using linux paths and uses an external editor (GIMP I think).
It also had a bloody annoying thing of chucking up volume requesters for a drive as you are typing it... eg. type r 'insert r' type a 'insert ra' type m 'insert ram'...
of course that won't work because being a linux path it wants /ram/ not ram:, ferking stupid if you ask me...
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
I tried photocrop... erm.. how can I put this... it's bloody awful... starting a cui only program from shell is weird, ok as a dopus add on I suppose. the crop box doesn't work, grabbing the block in the corner will let me move the box about 16 pixels then it stops and I have to grab it again... clicking in the box to move it just puts the top left at that point, resizing and moving the box 1 pixels at a time via the keyboar? SOD THAT.
oh, and there's nothing to keep the aspect ration correct.
ok, guys, please stop the suggestions, I've tried them all before posting the thread and nothing really does the job.
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
You add it to diropus as I said. It does cropping and all kinds of weird stuff.
It may not enable you to select a given area, but if you just want to scale and crop a set of images for a slide show or whatever then it'll do at least that. And It'll do it without you having to wait for Mr Someone to write a program.
It won't do that though, every image has to be cropped and scaled differently, I can continue using imagefx but that takes a long time, especially when your dealing with several hundred images that are 3648 x 2736 and need to be reduced to 1680 x 1050 and keep the correct aspect ratio.
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
OK. I've started work on it. Shouldn't be too hard.
I've adapted a bicubic interpolation routine that doom/iris gave me, and made a program that loads any image in, and shows it as large as possible on the same screenmode as wb (keeping image aspect ratio).
I just have to make it possible to select an area (keeping aspect of course), and it'll then scale that area up to full screen and save it, and i'll be done.
It can definitely also come in handy for me in some situations.
Suggestions for future versions:
Make it possible to see the scaled picture rendered before saving it; I know, it causes an extra user interaction in the "flow", so it should be an option.
Make it possible to select a different target resolution from the one of the screen.