GUI for "identify" command.

1 view
Skip to first unread message

Narendra Sisodiya

unread,
Dec 18, 2010, 3:51:28 AM12/18/10
to osco...@googlegroups.com, IITDLUG
Take it as first assignment for those who want to create their first GUI in Linux platform.
You can use Qtcreator to make GUI and then in backend you can call identify command and all its information in tabbed format.
You can also create rightl click nautilus script for this.

There is a tcl/tk gui - http://wiki.tcl.tk/4277

+++++++++

identify -verbose image_file.jpg

The output will be something llike this:

arulalan@arul-desktop:~/
Desktop$ identify -verbose thasu.jpg

Image: thasu.jpg
 Format: JPEG (Joint Photographic Experts Group JFIF format)
 Class: DirectClass
 Geometry: 800x600+0+0
 Resolution: 72x72
 Print size: 11.1111x8.33333
 Units: Undefined
 Type: TrueColor
 Endianess: Undefined
 Colorspace: RGB
 Depth: 8-bit
 Channel depth:
   red: 8-bit
   green: 8-bit
   blue: 8-bit
 Channel statistics:
   red:
     min: 0 (0)
     max: 255 (1)
     mean: 40.7125 (0.159657)
     standard deviation: 73.2441 (0.287232)
     kurtosis: 0.609629
     skewness: 1.53781
   green:
     min: 0 (0)
     max: 255 (1)
     mean: 52.529 (0.205996)
     standard deviation: 91.3897 (0.358391)
     kurtosis: 0.455854
     skewness: 1.48962
   blue:
     min: 0 (0)
     max: 255 (1)
     mean: 51.1838 (0.200721)
     standard deviation: 89.757 (0.351988)
     kurtosis: 0.527622
     skewness: 1.51096
 Image statistics:
   Overall:
     min: 0 (0)
     max: 255 (1)
     mean: 36.1063 (0.141593)
     standard deviation: 76.8034 (0.30119)
     kurtosis: 2.40766
     skewness: 2.01127
 Rendering intent: Undefined
 Interlace: None
 Background color: white
 Border color: rgb(223,223,223)
 Matte color: grey74
 Transparent color: black
 Compose: Over
 Page geometry: 800x600+0+0
 Dispose: Undefined
 Iterations: 0
 Compression: JPEG
 Orientation: Undefined
 Properties:
   date:create: 2010-07-11T19:50:46+05:00
   date:modify: 2010-05-20T09:39:56+05:00
   jpeg:colorspace: 2
   jpeg:sampling-factor: 2x2,1x1,1x1
   signature: e794b1f09975d276aed3b92e5d45511e3e08ced69b1f8f1151eab18556679bda
 Artifacts:
   verbose: true
 Tainted: False
 Filesize: 97.8KiB
 Number pixels: 469KiB
 Pixels per second: 7.629MiB
 User time: 0.030u
 Elapsed time: 0:01.060
 Version: ImageMagick 6.5.7-8 2009-11-26 Q16 http://www.imagemagick.org



Subin Sebastian

unread,
Dec 20, 2010, 8:27:41 AM12/20/10
to osco...@googlegroups.com
My proposal : https://launchpad.net/guis

See you in the after life...
;-)
S   U   B   I   N         S   E   B   A   S   T   I   A   N

Narendra Sisodiya

unread,
Dec 20, 2010, 11:26:12 PM12/20/10
to osco...@googlegroups.com


On Mon, Dec 20, 2010 at 6:57 PM, Subin Sebastian <subinse...@gmail.com> wrote:
My proposal : https://launchpad.net/guis


I am unable to see any code..

Subin Sebastian

unread,
Dec 21, 2010, 3:00:41 AM12/21/10
to osco...@googlegroups.com

I am unable to see any code..

 You have to browse through the trunk : http://bazaar.launchpad.net/~subinsebastien/guis/trunk/files

--
See you in the afterlife... ;-)

Narendra Sisodiya

unread,
Dec 21, 2010, 9:02:28 AM12/21/10
to osco...@googlegroups.com


On Tue, Dec 21, 2010 at 1:30 PM, Subin Sebastian <subinse...@gmail.com> wrote:

I am unable to see any code..

 You have to browse through the trunk : http://bazaar.launchpad.net/~subinsebastien/guis/trunk/files

I have not used bazaar before, that is why. Thanks

I suggest to for having a .deb file for installation and adding a ppa repo.
At the end you can document whole process

1) idea
2) online or basic tutorial which helped you to create glade and tut.c files
3) online or basic tutorial which helped you to create .deb file
4) online or basic tutorial which helped you to create ppa repo

Good works :)

Reply all
Reply to author
Forward
0 new messages