Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
Hi
How to sort a fixed length file on a given char range and just display the duplicates.
I did search for man sort to find any option but could find any.,something similar to cut -c 1-5,25-35.
I have alternate way of doing this by using combination of cut,awk. but this
creates extra temp... (6 Replies)
Hi Unix Champs,
I want to awk on a fixed length file.
Instead if the file was a delimited file, then I could have used -F and then could have easily done manipulation on the fields.
How do i do the same in case of fixed length file?
Thanks in Advance.
Regards. (7 Replies)
Hi,
Can we join two fixed length files in Unix using JOIN command? Is there any other command to accomplish the same?
Thanks,
G.Harikrishnan (6 Replies)
OK I am somewhat new to UNIX programming please see what you can do to help.
I have a flat file that is a fixed length file containing different records based on the 1st character of each line. The 1st number at the beginning of the line is the record number, in this case it's record #1.
I... (3 Replies)
Very, very new to unix scripting and have a unique situation. I have a file of records that contain 3 records types:
(H)eader Records
(D)etail Records
(T)railer Records
The Detail records are 82 bytes in length which is perfect. The Header and Trailer records sometimes are 82 bytes in... (3 Replies)
Hi,
Can anyone help with a effective solution ?
I need to change a variable length text field (between 1 - 18 characters) to a fixed length text of 18 characters with the unused portion, at the end, filled with spaces.
The text field is actually field 10 of a .csv file however I could cut... (7 Replies)
How do I extract values in a few columns in a row of a fixed length file?
If there are 8 columns and I need to extract values of 2nd,4th and 6 th columns, how do i do that? I used cut command, this I used only for one column. How do I do it more than one column?
The below command will give... (1 Reply)
Hi,
I have a text file with sample records as
CASE ID: 20170218881083
Original presentment record for ARN not found
for Re-presentment
I want to extract the 23 digit number from this file. I thought of using grep but initially couldn't extract the required number. However, after... (16 Replies)
Discussion started by: dsid
16 Replies
LEARN ABOUT SUSE
pfsoutjpeghdr
pfsoutjpeghdr(1) General Commands Manual pfsoutjpeghdr(1)NAME
pfsoutjpeghdr - Write images or frames in JPEG-HDR format
SYNOPSIS
pfsoutjpeghdr (<file> [--linear] [--quality <val>] [--correction <correct>] [--frames <range>]) [<file>...]
DESCRIPTION
Use this command to write JPEG file with HDR extension. This software makes use of the High Dynamic Range Imaging Library from Sunnybrook
Technologies Inc. (c) Sunnybrook Inc. 2005
OPTIONS --quality <val>, -q <val>
The --quality setting controls the overall compression/quality trade-off, with 100 being the maximum setting, producing the lowest
losses and the largest output files. Quality settings below 70 may result in significant image degradation, and should be avoided
in critical applications. Default: --quality=90
--correction <correct>, -c <correct>
The --correction setting controls the algorithm used during downsampling of the HDR ratio image data. The default precorrect option
compensates for resampling errors by adjusting the tone-mapped image to maximize the accuracy of the HDR result. This option may
sometimes induce modest halo artifacts in the tone-mapped image at lower quality settings. If the tone-mapped (backwards compati-
ble) image is more important than the HDR version, the postcorrect option may be used, instead. To avoid all artifacts from HDR
resampling, specify the fullsamp option. This will result in slightly larger image files. Default: --correction=precorrect
--alpha <a>, -a <a>; --beta <b>, -b <b>
The --alpha and --beta settings control color desaturation during tone-mapping, which will also permits super-saturated colors to
pass through safely. (See the appendix of the paper by Ward and Simmons cited below for details.) Use --alpha < 1 to desaturate
colors and --beta > 1 to enhance color saturation contrast. Any input color space will be converted to the standard YCC color space
of JPEG, based on the CCIR-709 (sRGB) primaries. Default: --alpha=1, --beta=1.
EXAMPLES
pfsin memorial.hdr | pfsoutjpeghdr memorial.jpeg
BUGS
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>.
SEE ALSO pfsinjpeghdr(1) Subband Encoding of High Dynamic Range ImagerybyWardandSimmons (www.anyhere.com/gward/papers/apgv04)
pfsoutjpeghdr(1)