Skip to main content

ContactArgs

Struct ContactArgs 

Source
pub struct ContactArgs {
Show 16 fields pub input: PathBuf, pub output: PathBuf, pub record: Option<PathBuf>, pub film: String, pub paper: String, pub dev: Vec<f64>, pub temp: Option<f64>, pub ev: Exposure, pub print_ev: f64, pub dpi: f64, pub input_encoding: EncodingArg, pub spectral: bool, pub grain: bool, pub halation: bool, pub couplers: bool, pub no_edge_codes: bool,
}
Expand description

kalo contact

The proof, not the print: every development of one frame laid on a sheet, exposed once, with the film’s rebate and edge markings around it. What the sheet then shows is what the film carries, frame against frame — the one comparison a print, which is corrected one frame at a time, cannot make.

Fields§

§input: PathBuf

The photograph. It is cropped to 3:2 and sampled at the frame’s size.

§output: PathBuf

Where the sheet is written.

§record: Option<PathBuf>

Where the sheet’s frame rects are written, in pixels, for a viewer.

§film: String

Film stock id (see kalo stocks).

§paper: String

Paper stock id (see kalo stocks).

§dev: Vec<f64>

Development times in minutes, one strip each: --dev 3,6,9,12,15.

Empty is the interface’s ladder, three to fifteen.

§temp: Option<f64>

Developer temperature, in degrees Celsius.

§ev: Exposure

The exposure the frame was given: a number of stops, or auto to meter it. One exposure, used by every strip.

§print_ev: f64

The enlarger’s exposure on top of the solved balance, in stops.

§dpi: f64

Sheet resolution, in dots per inch.

§input_encoding: EncodingArg

How to interpret the values stored in the input file.

§spectral: bool

Expose and print through the spectral model.

§grain: bool

Add grain to the negative, as a particle process on the film’s scale.

§halation: bool

Add halation: light scattered in the emulsion and reflected off the base.

§couplers: bool

Add DIR couplers: development inhibition between layers, with diffusion.

§no_edge_codes: bool

Do not print the edge markings: the stock, the frame number, the time.

Trait Implementations§

Source§

impl Args for ContactArgs

Source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

impl Debug for ContactArgs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for ContactArgs

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,