Both sides previous revisionPrevious revisionNext revision | Previous revision |
groups:aps:home [2009/01/08 20:29] – clayton | groups:aps:home [2009/01/08 20:33] (current) – clayton |
---|
==== Generating preview images ==== | ==== Generating preview images ==== |
| |
Preview images need to be cropped, and John Martin wrote a routine to determine where. ''/home/jtolds/archivefiles/imagegeneration/image_rowdb/getimgarea''' | Preview images need to be cropped, and John Martin wrote a routine to determine where. ''/home/jtolds/archivefiles/imagegeneration/image_rowdb/getimgarea'' |
is a binary John made does this. | is a binary John made does this. |
''create_row_info.pl'' in the same directory is a script that I wrote to wrap | ''create_row_info.pl'' in the same directory is a script that I wrote to wrap |
on STDOUT and tabular data on STDERR. The SQL is to be dumped into the EtaCar db, and the tabular data is used by the preview image creation program. | on STDOUT and tabular data on STDERR. The SQL is to be dumped into the EtaCar db, and the tabular data is used by the preview image creation program. |
| |
In ''/home/jtolds/archivefiles/imagegeneration/make_pics''', there are more important scripts. | In ''/home/jtolds/archivefiles/imagegeneration/make_pics'', there are more important scripts. |
''create-imagebounds'' will regenerate the tabular data from stderr of the previous program from the database in case you lost it. | ''create-imagebounds'' will regenerate the tabular data from stderr of the previous program from the database in case you lost it. |
''create-preview4'' takes the tabular data file as an argument and creates preview images in the appropriate places. | ''create-preview4'' takes the tabular data file as an argument and creates preview images in the appropriate places. |
''create-preview4-hacknstack'' is the same, except it first uses the '''hacknstack''' binary that John wrote. This is useful for very wide and short observations. Instead of having to scroll right-to-left, the image is cut off at a certain amount of observation pixels and wrapped. | ''create-preview4-hacknstack'' is the same, except it first uses the ''hacknstack'' binary that John wrote. This is useful for very wide and short observations. Instead of having to scroll right-to-left, the image is cut off at a certain amount of observation pixels and wrapped. |
| |
As of 5/28/8, there is also a ''create-preview3'' script, but I believe this is just an outdated version. | As of 5/28/8, there is also a ''create-preview3'' script, but I believe this is just an outdated version. |