{"push_id":578762035,"size":3,"distinct_size":2,"ref":"refs/heads/lg-oiiotoolexpr","head":"3917cc878e7c3579fae0b726503fc8b034dc5811","before":"05888261af25afdc78b55427915f4a7e9b750a59","commits":[{"sha":"07f01b65ccfc1371bfc3f1d6cd029e1f68b79c7e","author":{"email":"f0a1ce6f80112d72f7276457fd261d671b827567@larrygritz.com","name":"Larry Gritz"},"message":"TIFF: allow writing of half (fp16) pixels. (currently disabled!!!)\n\nThis is allowed according to a 2005 standard extension by Adobe.  OIIO\nhas read these files for a while, but never written them (instead\nsilently promoting to float). By using this, we are taking a slight\nchance that non-OIIO TIFF-reading software may not understand the files.\nI suppose if this starts cropping up as a problem, we may revisit the\ndecision.","distinct":false,"url":"https://api.github.com/repos/lgritz/oiio/commits/07f01b65ccfc1371bfc3f1d6cd029e1f68b79c7e"},{"sha":"6ba4149581d32a0cb93b02f2094cb1f8ad98b7cf","author":{"email":"f0a1ce6f80112d72f7276457fd261d671b827567@larrygritz.com","name":"Larry Gritz"},"message":"Better explanation of oiiotool command line order importance","distinct":true,"url":"https://api.github.com/repos/lgritz/oiio/commits/6ba4149581d32a0cb93b02f2094cb1f8ad98b7cf"},{"sha":"3917cc878e7c3579fae0b726503fc8b034dc5811","author":{"email":"f0a1ce6f80112d72f7276457fd261d671b827567@larrygritz.com","name":"Larry Gritz"},"message":"oiiotool: expression evaluation and substitution for command line arguments\n\nAnything enclosed in braces { } in a command line argument will be\nsubstituted by the evaluation of the enclosed expression.\n\nCurrently, expressions may be:\n\n * numbers\n\n * Simple arithmetic: expr + expr, expr - expr, expr * expr, expr / expr\n   (simple left to right evaluation, no operator precedence)\n\n * Retrieve image metadata:\n     TOP.metadata         current image\n     IMG[i].metadata      ith image on the stack (IMG[0] is TOP)\n     IMG[name].metadata   named image\n\nWe may allow more complex expressions later.\n\nMotivating examples that illustrate how this can be used for fun and profit:\n\n// create a gradient the same size as fg.exr, composite fg over it\noiiotool fg.exr --pattern fill:top=0,0,0,0:bottom=0,0,1,1 {TOP.geom} {TOP.nchannels} -over -o overgradient.exr\n\n// trim 20 pixels from all sides\noiiotool input.exr -cut \"{TOP.width-40}x{TOP.height-40}+{TOP.x+20}+{TOP.y+20}\" -o cropped.exr\n\n// Write the time in the lower left corner of the image\noiiotool -v input.jpg --text:size=30:x=30:y={TOP.height-30} {TOP.DateTime} -o out.jpg","distinct":true,"url":"https://api.github.com/repos/lgritz/oiio/commits/3917cc878e7c3579fae0b726503fc8b034dc5811"}]}