Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.651.272 Times

ImageInfo 1.9

  Date Added: September 17, 2010  |  Visits: 2.017

ImageInfo

Report Broken Link
Printer Friendly Version


Product Homepage
Download (160 downloads)



ImageInfo is a free Java class to retrieve properties from image files. The following file formats are currently supported: JPEG, PNG, GIF, BMP, PCX, IFF, RAS, PBM, PGM, PPM and PSD (read why TIFF is not included). ImageInfo can recognize these formats, and in addition determine image width, height and color depth (bits per pixel). Also check out ffident, my file format (group) and MIME type identification library. It extracts less information than ImageInfo (it only recognizes the format, no metadata), but it supports more formats and new formats can be added by editing a text file. Similar to file(1) / magic(5). Using ImageInfo from within a Java application or applet The image file can be any InputStream object or an instance of a class implementing DataInput (like RandomAccessFile). Here is some sample code on how to use the class: ImageInfo ii = new ImageInfo(); // in can be InputStream or RandomAccessFile (or DataInput) ii.setInput(in); /* if you want to know how many images there are in a file, uncomment the following line; will slow down ImageInfo with animated GIFs */ //ii.setDetermineImageNumber(true); // check does the actual work, you wont get results before // you have called it if (!ii.check()) { System.err.println("Not a supported image file format."); } else { System.out.println( ii.getFormatName() + ", " + ii.getMimeType() + ", " + ii.getWidth() + " x " + ii.getHeight() + " pixels, " + ii.getBitsPerPixel() + " bits per pixel, " + ii.getNumberOfImages() + " image(s)."); // there are other properties, check out the API documentation } Using ImageInfo as a command line program ImageInfo also has a main method that makes it a command line tool. Assuming that ImageInfo.class is in your classpath, giving the class to java with some file names as arguments will be sufficient. Here is an example call including output: $ java ImageInfo test.jpg test.jpg File format: JPEG MIME type: image/jpeg Width (pixels): 1556 Height (pixels): 2048 Bits per pixel: 24 Progressive: false Number of images: 1 Physical width (dpi): 300 Physical height (dpi): 300 Physical width (inches): 5.1866665 Physical height (inches): 6.826667.

Requirements: No special requirements
Platforms: Linux
Keyword: Class File Graphics Image Imageinfo Java Java Class Multimedia Properties Retrieve
Users rating: 0/10

License: Freeware Size: 27.65 KB
USER REVIEWS
More Reviews or Write Review


IMAGEINFO RELATED
Programming  -  asm2class 0.1.2
Asm2class is a java assembly to class file compiler. Asm2class is release under the terms of the GPL License. The current version of asm2class (0.1.2) is a beta version and allow generating class file from java assembly file that contains class...
1.17 MB  
Code Management Tools  -  ProGuard 3.9 / 4.0 Beta
ProGuard is a free Java class file shrinker, optimizer, and obfuscator. ProGuard project can detect and remove unused classes, fields, methods, and attributes. It can then optimize bytecode and remove unused instructions. Finally, it can rename...
 
Development Editors  -  DCompiler Alpha
The aim of this project is to develope a decompiler for java which is platform independent and has options to obfuscate the class file also.The project takes class file as input and decompiles it and provides the source file. About this...
 
Networking Tools  -  PHP Client Sniffer 2.1.3
PHP Client Sniffer is a PHP class file that allows one to quickly determine the clients browser and system information based on the HTTP_USER_AGENT string. The class can be used to generate browser specific html marks and other client side...
20.48 KB  
Libraries  -  FreeImage 3.9.2
FreeImage is an Open Source library project for developers who would like to support popular graphics image formats in their software. FreeImage libraries are available in both binary and source distributions..
2.3 MB  
Libraries  -  Java Pareto Solutions Beta
Java Pareto Solutions was built as a class file that allows the user to filter out all the dominated solutions. Thus, all solutions that are left are non-dominated and thus belong to the Pareto front. The input are arraylists for each criterion....
 
Libraries  -  Template::Plugin::Java 0.4
Template::Plugin::Java is a Perl module that can generate Java Classes from XML description files and templates. SYNOPSIS From an xml file such as: value2 10<...
18.43 KB  
Programming  -  jclassinfo 0.19.1
jclassinfo reads java class files and provides information about the class, dependencies and more. It is a pure C implementantion..
26.62 KB  
Network & Internet  -  MultipartRequest File Upload parser 2.0B9
MultipartRequest File Upload parser provides a HttpServletMultipartRequest class that extends the HttpServletRequestWrapper implementation to provide methods for handling multipart form data. The project supports Servlets using Java 1.2 or later....
204.8 KB  
Programming  -  Java Toaster 1.0.5
Java Toaster is a java utility class for your swing applications that show an animate box coming from the bottom of your screen with a notification message and/or an associated image (like msn online/offline notifications).
15.84 KB  
NEW DOWNLOADS IN MULTIMEDIA & GRAPHICS, 3D GRAPHIC TOOLS
Multimedia & Graphics  -  Free Video Capture 5.4.9
The conspicuous feature of Free Video Capture is recording screen video. It enables you to make your own video through web camera or record your games online to share them with your friends or upload to websites for entertainment. It is a...
1.54 MB  
Multimedia & Graphics  -  Open Factory 3D For Linux 2.4
Open Factory 3D is a free factory design application that helps you to place your machines and factory equipment on a factory 2D plan, with a 3D preview.
15.49 MB  
Multimedia & Graphics  -  Fractal4D 1.30
Fractal4D is an Adobe AIR application that lets you draw really cool detailed fractal swirls that can then be exported as a vector for use in Adobe Illustrator or as a plain PNG. There are a whole load of options that allow you to tweak the...
40.96 KB  
Multimedia & Graphics  -  gst-simple-player 0.0.0
gst-player is a very basic media player that uses GStreamer. The objective is to be simple but useful. Some of the features are based on MPlayer's UI. gst-player can also be used as an example for bigger projects.
40.96 KB  
Multimedia & Graphics  -  PVR150 Capture Utility 0.8
PVR150 Capture Utility is a video capture tool for MythTV. Developer comments I haven't been at this very long so I really don't know what I'm doing. I just know it works on my computer. Your milage may vary wildly. I was...
81.92 KB  
3D Graphic Tools  -  XnConvert 1.74
XnConvert is a cross-platform batch image-converter and resizer with a powerful and ease of use experience. All common picture and graphics formats are supported (i.e. JPG, PNG, TIFF, GIF, Camera RAW, JPEG2000, WebP, OpenEXR) as well as supporting...
3.84 MB  
3D Graphic Tools  -  Varkon 1.19D
Varkon is a very powerful parametric 2D/3D CAD, modeling and application development tool for engineering, design, architecture, etc. It does 2D drafting, 2D and 3D modeling, sculptured surface modeling, and even animations. See our website for...
3.53 MB  
3D Graphic Tools  -  gorbital 0.1.1
gorbital is a atomic orbital viewer written using gtkmm (gtk--). gorbital displays a 3d interactive view of a electron orbitals. It is meant to be an open source viewer much like Orbital Viewer by David Manthey (http://www.orbitals.com/orb/).
122.88 KB  
3D Graphic Tools  -  qr2scad 0.6.2
qr2scad.py - Convert QR code images to OpenSCAD. Installation / upgrade: sudo easy_install -U qr2scad Dependencies: Python Imaging Library (PIL) Why use this? If someone sees the QR code on your thing in real life,...
10.24 KB  
3D Graphic Tools  -  SciGraphica 2.1.1
SciGraphica is a scientific data visualization and analysis application, supplying many of the basic plotting features for 2D and 3D charts. It features opening several worksheets and plots to work with at the same time and PS output.
819.2 KB