Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pfstag(1) [debian man page]

pfstag(1)						      General Commands Manual							 pfstag(1)

NAME
pfstag - Set or remove tags to/from pfs stream SYNOPSIS
pfstag [--set [channel:]name=value] [--remove [channel:]name] DESCRIPTION
Use this command to set or remove tags from the pfs-stream. Tags are used to add additional information to pfs frames and they are in the format: 'name=value'. To learn more about tags, read 'Specification of the PFS File Format'. Tags are set/removed to/from all pfs frames in the stream. Note that currently only OpenEXR file format supports tags. OPTIONS
--set [channel:]name=value], -s [channel:]name=value], --add [channel:]name=value] Change existing or add a new tag of the given name. If no channel is given, tags are added to the frame. --remove [channel:]name], -r [channel:]name] Remove tag of the given name. Ignore if the tag does not exist. If no channel is given, tags are removed from the frame. EXAMPLES
pfsin memorial.hdr | pfstag --add "EXTRA_INFO=foo" | pfsout memorial_ei.exr Add tag "EXTRA_INFO=foo" to the memorial image and save it as memorial_ei.exr. SEE ALSO
pfsin(1) pfsout(1) BUGS
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>. pfstag(1)

Check Out this Related Man Page

pfsinexr(1)						      General Commands Manual						       pfsinexr(1)

NAME
pfsinexr - Load images or frames in OpenEXR format SYNOPSIS
pfsinexr [--keep-rgb] (<file> [--frames <range>] [--skip-missing]) [<file>...] DESCRIPTION
Use this command to read frames in OpenEXR format. The frames are converted to pfs stream and send to the standard output. This command can read arbitrary channels from OpenEXR files; color channels XYZ are however specially handled (see option keep-rgb). pfsinexr reads also all string attributes from OpenEXR file and write them as tags in pfs stream. Attributes of other types are ignored. If attribute name contains a colon (:), the part before colon is treated as a channel name and the attribute is assigned to that channel (sim- ilar notation as command line argument of pfstag program). pfsinexr recognizes OpenEXR standard attribute WhiteLuminance and multiplies the data by that value to get absolute luminance values (see also --fix-halfmax switch in pfsoutexr). Additionally the tag LUMINANCE is set to ABSOLUTE unless OpenEXR files contains attribute LUMI- NANCE set to semething else. That is the channel Y is assumued to represent absolute luminance levels in cd/m^2. If an OpenEXR file contains 'Z' channel, it is renamed to 'DEPTH' to avoid conflict with the Z color channel for the XYZ color space. Details on the format of the pattern file names, which are used for reading multiple frames, can be found in the manual page of pfsinppm. To automatically recognize a file format from the extension, use pfsin command instead. --keep-rgb By default, color channels R, G and B from an OpenEXR file are converted to XYZ color space, which is suggested format for color data in pfs. When keep-rgb option is specified, color channels RGB are stored as they are without any conversion. EXAMPLES
pfsin memorial.exr | pfsout memorial.hdr Converts from one HDR format to another BUGS
pfsinexr and pfsoutexr can not take stdin / stdout as an input/output (dash '-' instead of file name). Please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools SEE ALSO
pfsin(1) pfsinppm(1) pfsoutexr(1) pfsinexr(1)
Man Page

13 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Code Tags

Many people refuse to use them. Some go so far as to mark things like >int main() >{ >printf("Hello World!\n") >} or int main() { printf("hello world!\n"); } Is it acceptable to use the 'report post' link to flag these illegible posts for moderator editing, or would the mods rather not... (9 Replies)
Discussion started by: Corona688
9 Replies

2. Shell Programming and Scripting

Add tags in a file

I have a file with some IPs, and i want to add some tags to them using awk. The file will contain any number of IPs, and what i want is to add tags to all of them. For example: original.txt 172.17.110.24 132.15.12.34 ..... what i want to get is <device> 172.17.110.24... (4 Replies)
Discussion started by: moarra
4 Replies

3. Emergency UNIX and Linux Support

Shell scripting

The given file consists of two tags i.e., <free-energy> and <position> tag. I want the output like this. The tag <length> is not required to consider. (General format of output) free-energy no. first position no – second position no third position no – fourth position no ------ ... (8 Replies)
Discussion started by: hravisankar
8 Replies

4. How to Post in the The UNIX and Linux Forums

Forum Video Tutorial: How to Use Code Tags

How to Use Code Tags in The UNIX and Linux Forums Developer: This video tutorial was created by scott for forum users. Everyone should use code tags when posting code and command line logic in the forums. cPF45jjWe7Q A full list of BB codes is available here. (8 Replies)
Discussion started by: Neo
8 Replies

5. Shell Programming and Scripting

How to remove string inside html tag <a>

Does anybody know how i can remove string from <a> tag? There are several hundred posts in a few forums that need to be cleaned up. The precise situation is ---------- <a href="http://mydomain.com/cgi-bin/anyboard.cgi?fvp=/family/sexuality_and_spirituality/&cmd=rA&cG=43"> ------------- my... (6 Replies)
Discussion started by: georgi58
6 Replies

6. Shell Programming and Scripting

remove large portion of web page code between two tags

Hi everybody, I am trying to remove bunch of lines from web pages between two tags: one is <h1> and the other is <table it looks like <h1>Anniversary cards roses</h1> many lines here <table summary="Free anniversary greeting cards." cellspacing="8" cellpadding="8" width="70%">my goal... (5 Replies)
Discussion started by: georgi58
5 Replies

7. Shell Programming and Scripting

Remove < or > from between 2 tags

Hi I'm fairly new to all of this so hope you can help Within a shell script I need to remove either of these characters < > from between 2 tags in an xml file. The current code is removing the tags and therefore the loading of my xml file is failing Any ideas? Thanks Craig (6 Replies)
Discussion started by: Spac3Monket
6 Replies

8. Shell Programming and Scripting

How to remove html tag which has multiple lines in SHELL?

I want to clean a html file. I try to remove the script part in the html and remove the rest of tags and empty lines. The code I try to use is the following: sed '/<script/,/<\/script>/d' webpage.html | sed -e 's/<*>//g' | sed '/^\s*$/d' > output.txt However, in this method, I can not... (10 Replies)
Discussion started by: YuhuiFeng
10 Replies

9. Shell Programming and Scripting

Sorting/Arranging file based on tags using awk

Hi, I have file which contains data based on tags. Output of the file should be in order of tags. Below are the files : Tags.txt f12 f13 f23 f45 f56 Original data is like this : Data.txt 2017/01/04|09:07:00:021|R|XYZ|38|9|1234|f12=CAT|f23=APPLE|f45=PENCIL|f13=CAR... (5 Replies)
Discussion started by: Prathmesh
5 Replies

10. UNIX for Beginners Questions & Answers

How to remove matched rows from my file?

Hello, I am new beginner, and just got help from this forum. The command line is :awk '($1, $2) in x { print x print delete x next } { x = $0 }' results>myfileI got a output "myfile" from the orginal file 'results'. The quesion is I don't know how to get all rows... (7 Replies)
Discussion started by: nengcheng
7 Replies

11. What is on Your Mind?

White "Shadows" in Code Tags?

Hey, Just upgraded my MacPro to MacOS Mojave (Beta) and all of a sudden I'm seeing white "shadows" in the code tag HTML (see below img): https://www.unix.com/members/1-albums215-picture849.png Is anyone else seeing this? If not, I will assume it is a "beta thing" with the Mojave Beta... (29 Replies)
Discussion started by: Neo
29 Replies

12. What is on Your Mind?

New Code Tags (Syntax Highlighting)

Hey, Just added a new UserCP option so you can change the code tags to look like the code tags in this example (turn this on and off): Note: I set the default to "SyntaxHighlighting" for debugging purposes. We can change the default back to the original code tags later. ... (36 Replies)
Discussion started by: Neo
36 Replies

13. What is on Your Mind?

YouTube: How to Use Code Tags and Format Posts @UNIX.com

By special request, and long overdue, I have updated our "code tags" video and so now we have: How to Use Code Tags and Format Posts @UNIX.com in 4K https://youtu.be/4BuPvWJV__k (3 Replies)
Discussion started by: Neo
3 Replies