MicrostockGroup

Microstock Photography Forum - General => Off Topic => Topic started by: Dreamframer on April 27, 2010, 12:21

Title: Help with image browsing software
Post by: Dreamframer on April 27, 2010, 12:21
Guys, maybe it's a dumb question, but is there any image browser that instantly shows the size of images in megapixels? I mean, I would like something that won't show 3267x2432, but 7.94 Mpix
Title: Re: Help with image browsing software
Post by: red on April 27, 2010, 12:33
This online tool will give you that info for files from your computer, or (anyone's) files online.

http://regex.info/blog/other-writings/online-exif-image-data-viewer (http://regex.info/blog/other-writings/online-exif-image-data-viewer)

Here's a direct link to the tool -
http://regex.info/exif.cgi (http://regex.info/exif.cgi)
Title: Re: Help with image browsing software
Post by: RacePhoto on April 27, 2010, 12:33
Guys, maybe it's a dumb question, but is there any image browser that instantly shows the size of images in megapixels? I mean, I would like something that won't show 3267x2432, but 7.94 Mpix



IrfanView and a calculator.

Shows sizes and Megabytes. I think you can convert megabytes to Megapixels. I don't bother because I have a calculator on the desk and a chart that shows 2460 x 1640 (for example) = 4MP

Should you want to do calculations online... this works.

http://web.forret.com/tools/megapixel.asp (http://web.forret.com/tools/megapixel.asp)

Why I don't bother calculating from Megabytes: Each pixel typically consists of 8 bits (1 byte) for a Black and White (B&W) image or 24 bits (3 bytes) for a color image-- one byte each for Red, Green, and Blue. 8 bits represents 28 = 256 tonal levels (0-255). 16-bit B&W and 48-bit color image formats are also available; each pixel represents 216 = 65,536 tonal levels. Editing images in 16/48-bits produces the highest quality results; you can save images in 8/24 bits after editing is complete. An image's resolution is the total number of pixels, e.g., 1600 x2000 = 3.2 Megapixels, which corresponds to 3.2 Megabytes inside your computer for 8-bit B&W images or 9.6 Megabytes for 24-bit (3 bytes/pixel) color images.

Print this chart?

http://www.unlikelymoose.com/more/cameras/megapixel_converter.html (http://www.unlikelymoose.com/more/cameras/megapixel_converter.html)

Don't know if this was helpful? I don't know of anything, but it's an interesting question, that shows Megapixels for images in a viewer.
Title: Re: Help with image browsing software
Post by: Dreamframer on April 27, 2010, 13:08
Thank you RacePhoto, but the image 1600-2400 for example can have different file size depending on a compression method applied. If you save it at level 10 in PS, the file size will be almost 40% smaller than the same image, the same size saved at level 12. So, you can't know the size of the image in megapixels just by looking at the file size.

thank you guys for online tools, but that doesn't help me either. I have a folder with many images, and I want too delete all images smaller that 4 Mpix, without checking the size of the images by multiplying numbers in calculator. The online tool that cuppacoffee provided works only if you want to check files one by one.
Title: Re: Help with image browsing software
Post by: RacePhoto on April 27, 2010, 14:02
Thank you RacePhoto, but the image 1600-2400 for example can have different file size depending on a compression method applied. If you save it at level 10 in PS, the file size will be almost 40% smaller than the same image, the same size saved at level 12. So, you can't know the size of the image in megapixels just by looking at the file size.

thank you guys for online tools, but that doesn't help me either. I have a folder with many images, and I want too delete all images smaller that 4 Mpix, without checking the size of the images by multiplying numbers in calculator. The online tool that cuppacoffee provided works only if you want to check files one by one.


Oh why didn't you say what you were doing. Do you have Lightroom? There's a free plugin that sorts by file size, just what you want to do.

http://regex.info/blog/lightroom-goodies/megapixel-sort (http://regex.info/blog/lightroom-goodies/megapixel-sort)

Not sure if it's everything you need, but it looks interesting?

(and free)
Title: Re: Help with image browsing software
Post by: Dreamframer on April 27, 2010, 15:18
Unfortunately I don't have Lightroom :(
Looks like I have to do it manually, file by file. Crap :)
Anyway, thank you guys!
Title: Re: Help with image browsing software
Post by: Dreamframer on April 27, 2010, 15:30
OK, I wound a way to do it. Put all images in the same folder, add tab "dimensions", sort by dimensions, and windows explorer will sort all images from the smallest to the biggest one. Then just find the first image in the row that is bigger than 4 Mpix, and delete all smaller images :)

Oh no, it sorts them by the first number in dimensions.. lol
So, it's not working
Title: Re: Help with image browsing software
Post by: Dook on April 27, 2010, 15:47
I use PhotoMechanic, which is great. In your case, you can sort files by file size, or by height and width, if that helps.
Title: Re: Help with image browsing software
Post by: microstockphoto.co.uk on April 27, 2010, 15:54
OK, I wound a way to do it. Put all images in the same folder, add tab "dimensions", sort by dimensions, and windows explorer will sort all images from the smallest to the biggest one. Then just find the first image in the row that is bigger than 4 Mpix, and delete all smaller images :)

Oh no, it sorts them by the first number in dimensions.. lol
So, it's not working

I had the same problem and thought that ExifTool could be a solution. It could be executed in batch mode on the command line through a simple script* to extract width and height of pictures and then delete small ones.

*the more elegant solution would be to use ExifTool's own "configuration file", but executing Exiftool through the shell command of VBA or similar is a valid alternative to avoid learning one more programming language

Unfortunately I never found the time to actually make a program, otherwise I'd gladly send it to you.
Title: Re: Help with image browsing software
Post by: Dreamframer on April 27, 2010, 16:16
@Dook, it doesn't help, because, for example, it's putting the image 1800x3200 before the image that's 1850x2200, because the first number is smaller, even tho image is bigger, but thanks anyway.
@microstockphoto.co.uk, it would be nice if someone could write some small program that will do this. It's also boring when you have to crop the image to the certain size, and you have to bring up calculator and to experiment with dimensions until you get the closest result. :)
Title: Re: Help with image browsing software
Post by: madelaide on April 27, 2010, 17:40
Exifer shows the MB.
Title: Re: Help with image browsing software
Post by: microstockphoto.co.uk on April 27, 2010, 17:43
@microstockphoto.co.uk, it would be nice if someone could write some small program that will do this.

Ok, I did it, it didn't take much time eventually. It's a rough program but it does the job.

You can download my excel file below and follow instructions inside.

File contains visual basic macros but I guarantee they are not virus as I wrote code myself. You must enable macros.
Hope you can use Windows and Excel as I have no idea how to make this work on Mac / Linux.

PS: Everyone feel free to download it if think it's useful. Please let me know if it works.
Title: Re: Help with image browsing software
Post by: Dreamframer on April 28, 2010, 01:07
Great stuff! Thank you very much! I'm gonna test it today! :)
Title: Re: Help with image browsing software
Post by: UncleGene on April 28, 2010, 09:10
Unfortunately I don't have Lightroom :(

Lightroom beta is free at this moment (and at least for couple more months. If they do not finalize on current version - next beta will increase free period even more)
Title: Re: Help with image browsing software
Post by: cathyslife on April 28, 2010, 10:08
Adobe Bridge (comes with Creative Suite) tells you that info too.
Title: Re: Help with image browsing software
Post by: Dreamframer on April 28, 2010, 12:08
@cclapper Doesn't Adobe Bridge tell you only dimensions? If it tells you how many megapixels image has, could you please tell me where to look?
Thank you!
Ivan
Title: Re: Help with image browsing software
Post by: madelaide on April 28, 2010, 16:02
Have you tried Exifer yet?