9 More Discussions You Might Find Interesting
1. Debian
Hi.
I'm trying add wallpapers in /usr/share/backgrounds/gnome. And I already put the image file jpg in local specified before and added configuration in /usr/share/gnome-background-properties/gnome-backgrounds.xml.
<wallpaper deleted="false">
<name>NNNN</name>
... (1 Reply)
Discussion started by: malgen
1 Replies
2. UNIX and Linux Applications
I can set the transparency of the background of ROXTerm via the preferences menu item and then Edit Current Profile. When setting transparency however, I see the wallpaper shining through, but not the windows from other applications which are above the wallpaper. Is there a way to apply a setting... (0 Replies)
Discussion started by: figaro
0 Replies
3. Shell Programming and Scripting
Hi,
I am using ksh , i have requirement to run 4 functions in background , 4 functions call are available in a case that case is also in function, i need to execute 1st function it should run in background and return to case and next i will call 2nd function it should run in background and... (8 Replies)
Discussion started by: karthikram
8 Replies
4. Ubuntu
Hi,
If I have folder with many pics, and I would like to use that folder for my desktop.
But I don't want a specific pic, I want to replace every set of time the pic from the pics in that folder.
How can I do that?
In ubuntu of course. (0 Replies)
Discussion started by: programAngel
0 Replies
5. Programming
So I made my own unix shell, but i want to make a background process when using the & appended to the end, so far most of the commands seem to work (except cd, but thats another story)
right now here is what I have got.
Im thinking maybe I shouldn't be using switch and maybe switch it to... (27 Replies)
Discussion started by: Mercfh
27 Replies
6. Shell Programming and Scripting
Hi All,
how do I set in .profile file Unix terminal background color = BLUE ?
Please advice me.
:confused: (2 Replies)
Discussion started by: raghur77
2 Replies
7. UNIX for Dummies Questions & Answers
is it possible to see what is in a dds tape?
like in dos, we can write dir a: to see the contents of it?
thanks
PS : actually, i came from a DOS background. so most of the time, i will try to relate unix to dos. of course, dos never came close to unix. but unix is like many instances of... (1 Reply)
Discussion started by: yls177
1 Replies
8. UNIX Desktop Questions & Answers
Hi,
I'm new to this forums and to Unix OS...
Is this the right place to put this thread?
I just need to ask how to set the wallpaper that goes through the x-term windows in a Unix system? It's as if the x-term windows is transparent...
I tried modifying the .login file and things got... (5 Replies)
Discussion started by: Gri3v3r7
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am a newbie learing Unix , I have started with teh book "the Design of the Unix OS" by Bach.After which I plan to read "UNIX Network Programming" by Richard Stevens.
What is the background that one needs to learn unix. I know C. But I am not sure about my Operating Systems... (4 Replies)
Discussion started by: ramyar
4 Replies
jpeg(n) JPEG image manipulation jpeg(n)
__________________________________________________________________________________________________________________________________________________
NAME
jpeg - JPEG querying and manipulation of meta data
SYNOPSIS
package require Tcl 8.2
package require jpeg ?0.3.3?
::jpeg::isJPEG file
::jpeg::imageInfo file
::jpeg::dimensions file
::jpeg::getThumbnail file
::jpeg::getExif file ?section?
::jpeg::formatExif keys
::jpeg::exifKeys
::jpeg::removeExif file
::jpeg::stripJPEG file
::jpeg::getComments file
::jpeg::addComment file text...
::jpeg::removeComments file
::jpeg::replaceComment file text
::jpeg::debug file
::jpeg::markers channel
_________________________________________________________________
DESCRIPTION
This package provides commands to query and modify JPEG images. JPEG stands for Joint Photography Experts Group and is a standard for the
lossy compression of photographical images. It is specified at LINK_HERE.
COMMANDS
::jpeg::isJPEG file
Returns a boolean value indicating if file is a JPEG image.
::jpeg::imageInfo file
Returns a dictionary with keys version, units, xdensity, ydensity, xthumb, and ythumb. The values are the associated properties of
the JPEG image in file. Throws an error if file is not a JPEG image.
::jpeg::dimensions file
Returns the dimensions of the JPEG file as a list of the horizontal and vertical pixel count. Throws an error if file is not a JPEG
image.
::jpeg::getThumbnail file
This procedure will return the binary thumbnail image data, if a JPEG thumbnail is included in file, and the empty string otherwise.
Note that it is possible to include thumbnails in formats other than JPEG although that is not common. The command finds thumbnails
that are encoded in either the JFXX or EXIF segments of the JPEG information. If both are present the EXIF thumbnail will take
precedence. Throws an error if file is not a JPEG image.
set fh [open thumbnail.jpg w+]
puts -nonewline $fh [::jpeg::getThumbnail photo.jpg]
close $fh
::jpeg::getExif file ?section?
section must be one of main or thumbnail. The default is main. Returns a dictionary containing the EXIF information for the speci-
fied section. For example:
set exif {
Make Canon
Model {Canon DIGITAL IXUS}
DateTime {2001:06:09 15:17:32}
}
Throws an error if file is not a JPEG image.
::jpeg::formatExif keys
Takes a list of key-value pairs as returned by getExif and formats many of the values into a more human readable form. As few as one
key-value may be passed in, the entire exif is not required.
foreach {key val} [::jpeg::formatExif [::jpeg::getExif photo.jpg]] {
puts "$key: $val"
}
array set exif [::jpeg::getExif photo.jpg]
puts "max f-stop: [::jpeg::formatExif [list MaxAperture $exif(MaxAperture)]]
::jpeg::exifKeys
Returns a list of the EXIF keys which are currently understood. There may be keys present in getExif data that are not understood.
Those keys will appear in a 4 digit hexadecimal format.
::jpeg::removeExif file
Removes the Exif data segment from the specified file and replaces it with a standard JFIF segment. Throws an error if file is not
a JPEG image.
::jpeg::stripJPEG file
Removes all metadata from the JPEG file leaving only the image. This includes comments, EXIF segments, JFXX segments, and applica-
tion specific segments. Throws an error if file is not a JPEG image.
::jpeg::getComments file
Returns a list containing all the JPEG comments found in the file. Throws an error if file is not a valid JPEG image.
::jpeg::addComment file text...
Adds one or more plain text comments to the JPEG image in file. Throws an error if file is not a valid JPEG image.
::jpeg::removeComments file
Removes all comments from the file specified. Throws an error if file is not a valid JPEG image.
::jpeg::replaceComment file text
Replaces the first comment in the file with the new text. This is merely a shortcut for ::jpeg::removeComments and ::jpeg::addCom-
ment Throws an error if file is not a valid JPEG image.
::jpeg::debug file
Prints everything we know about the given file in a nice format.
::jpeg::markers channel
This is an internal helper command, we document it for use by advanced users of the package. The argument channel is an open file
handle positioned at the start of the first marker (usually 2 bytes). The command returns a list with one element for each JFIF
marker found in the file. Each element consists of a list of the marker name, its offset in the file, and its length. The offset
points to the beginning of the sections data, not the marker itself. The length is the length of the data from the offset listed to
the start of the next marker.
LIMITATIONS
can only work with files cant write exif data gps exif data not parsed makernote data not yet implemented
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category jpeg of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
comment, exif, image, jfif, jpeg, thumbnail
COPYRIGHT
Copyright (c) 2004-2005, Code: Aaron Faupell <afaupell@users.sourceforge.net>
Copyright (c) 2007, Code: Andreas Kupries <andreas_kupries@users.sourceforge.net>
Copyright (c) 2004-2007, Doc: Andreas Kupries <andreas_kupries@users.sourceforge.net>
jpeg 0.3.3 jpeg(n)