imgflo / imgflo-server

HTTP image processing server based on imgflo
48 stars 7 forks source link

Fix "insta" graphs #12

Closed automata closed 9 years ago

jonnor commented 8 years ago

fbp-diff for commits 2799e6d4e6...2e9e50ed55

graphs/insta_brannan.json:

- canvas/Draw_cldd8(canvas/Draw)
- DrawImage(canvas/DrawImage)
- GetImage(image/UrlToCanvas)
- SetWidth(objects/SetPropertyValue)
- GetWidth(objects/ExtractProperty)
- GetHeight(objects/ExtractProperty)
- SetHeight(objects/SetPropertyValue)
- core/Split_y52on(core/Split)
- WaitABit(core/RepeatDelayed)
- image/AdjustSaturation_4mn5x(image/AdjustSaturation)
+ AdjustSaturation(image/AdjustSaturation)
- GetWidth out -> value SetWidth
- GetHeight out -> value SetHeight
- SetWidth out -> in SetHeight
- SetHeight out -> canvas canvas/Draw_cldd8
- GetImage canvas -> in core/Split_y52on
- core/Split_y52on out -> in GetWidth
- core/Split_y52on out -> in GetHeight
- DrawImage drawimage -> in WaitABit
- WaitABit out -> commands canvas/Draw_cldd8
- GetImage canvas -> canvas ApplyCurve
- ApplyCurve canvas -> canvas image/AdjustSaturation_4mn5x
- image/AdjustSaturation_4mn5x canvas -> image DrawImage
+ ApplyCurve canvas -> canvas AdjustSaturation
- true -> drawevery canvas/Draw_cldd8
- true -> clearevery canvas/Draw_cldd8
- {"x":0,"y":0} -> destpoint DrawImage
- "Anonymous" -> crossorigin GetImage
- "width" -> property SetWidth
- "width" -> key GetWidth
- "height" -> key GetHeight
- "height" -> property SetHeight
- 500 -> delay WaitABit
- "-10" -> level image/AdjustSaturation_4mn5x
+ "-10" -> level AdjustSaturation
- INPORT=GetImage.url:url
. INPORT=ApplyCurve.canvas:canvas was INPORT=SetWidth.in:canvas
. OUTPORT=AdjustSaturation.canvas:output was OUTPORT=canvas/Draw_cldd8.canvas:output

graphs/insta_hefe.json:

- canvas/Draw_cldd8(canvas/Draw)
- DrawImage(canvas/DrawImage)
- GetImage(image/UrlToCanvas)
- SetWidth(objects/SetPropertyValue)
- GetWidth(objects/ExtractProperty)
- GetHeight(objects/ExtractProperty)
- SetHeight(objects/SetPropertyValue)
- core/Split_y52on(core/Split)
- WaitABit(core/RepeatDelayed)
- GetWidth out -> value SetWidth
- GetHeight out -> value SetHeight
- SetWidth out -> in SetHeight
- SetHeight out -> canvas canvas/Draw_cldd8
- GetImage canvas -> in core/Split_y52on
- core/Split_y52on out -> in GetWidth
- core/Split_y52on out -> in GetHeight
- DrawImage drawimage -> in WaitABit
- WaitABit out -> commands canvas/Draw_cldd8
- GetImage canvas -> canvas SetContrast
- SetVignette canvas -> image DrawImage
- true -> drawevery canvas/Draw_cldd8
- true -> clearevery canvas/Draw_cldd8
- {"x":0,"y":0} -> destpoint DrawImage
- "Anonymous" -> crossorigin GetImage
- "width" -> property SetWidth
- "width" -> key GetWidth
- "height" -> key GetHeight
- "height" -> property SetHeight
- 500 -> delay WaitABit
- INPORT=GetImage.url:url
. INPORT=SetContrast.canvas:canvas was INPORT=SetWidth.in:canvas
. OUTPORT=SetVignette.canvas:output was OUTPORT=canvas/Draw_cldd8.canvas:output

graphs/insta_lordkelvin.json:

- canvas/Draw_cldd8(canvas/Draw)
- DrawImage(canvas/DrawImage)
- GetImage(image/UrlToCanvas)
- SetWidth(objects/SetPropertyValue)
- GetWidth(objects/ExtractProperty)
- GetHeight(objects/ExtractProperty)
- SetHeight(objects/SetPropertyValue)
- core/Split_y52on(core/Split)
- WaitABit(core/RepeatDelayed)
- GetWidth out -> value SetWidth
- GetHeight out -> value SetHeight
- SetWidth out -> in SetHeight
- SetHeight out -> canvas canvas/Draw_cldd8
- GetImage canvas -> in core/Split_y52on
- core/Split_y52on out -> in GetWidth
- core/Split_y52on out -> in GetHeight
- DrawImage drawimage -> in WaitABit
- WaitABit out -> commands canvas/Draw_cldd8
- GetImage canvas -> canvas ApplyCurve
- SetSaturation canvas -> image DrawImage
- true -> drawevery canvas/Draw_cldd8
- true -> clearevery canvas/Draw_cldd8
- {"x":0,"y":0} -> destpoint DrawImage
- "Anonymous" -> crossorigin GetImage
- "width" -> property SetWidth
- "width" -> key GetWidth
- "height" -> key GetHeight
- "height" -> property SetHeight
- 500 -> delay WaitABit
- INPORT=GetImage.url:url
. INPORT=ApplyCurve.canvas:canvas was INPORT=SetWidth.in:canvas
. OUTPORT=SetSaturation.canvas:output was OUTPORT=canvas/Draw_cldd8.canvas:output

graphs/insta_nashville.json:

- canvas/Draw_cldd8(canvas/Draw)
- DrawImage(canvas/DrawImage)
- GetImage(image/UrlToCanvas)
- SetWidth(objects/SetPropertyValue)
- GetWidth(objects/ExtractProperty)
- GetHeight(objects/ExtractProperty)
- SetHeight(objects/SetPropertyValue)
- core/Split_y52on(core/Split)
- WaitABit(core/RepeatDelayed)
- GetWidth out -> value SetWidth
- GetHeight out -> value SetHeight
- SetWidth out -> in SetHeight
- SetHeight out -> canvas canvas/Draw_cldd8
- GetImage canvas -> in core/Split_y52on
- core/Split_y52on out -> in GetWidth
- core/Split_y52on out -> in GetHeight
- DrawImage drawimage -> in WaitABit
- WaitABit out -> commands canvas/Draw_cldd8
- GetImage canvas -> canvas SetBrightness
- ApplyCurve canvas -> image DrawImage
- true -> drawevery canvas/Draw_cldd8
- true -> clearevery canvas/Draw_cldd8
- {"x":0,"y":0} -> destpoint DrawImage
- "Anonymous" -> crossorigin GetImage
- "width" -> property SetWidth
- "width" -> key GetWidth
- "height" -> key GetHeight
- "height" -> property SetHeight
- 500 -> delay WaitABit
- INPORT=GetImage.url:url
. INPORT=SetBrightness.canvas:canvas was INPORT=SetWidth.in:canvas
. OUTPORT=ApplyCurve.canvas:output was OUTPORT=canvas/Draw_cldd8.canvas:output

graphs/insta_xproii.json:

- canvas/Draw_cldd8(canvas/Draw)
- DrawImage(canvas/DrawImage)
- GetImage(image/UrlToCanvas)
- SetWidth(objects/SetPropertyValue)
- GetWidth(objects/ExtractProperty)
- GetHeight(objects/ExtractProperty)
- SetHeight(objects/SetPropertyValue)
- core/Split_y52on(core/Split)
- WaitABit(core/RepeatDelayed)
- GetWidth out -> value SetWidth
- GetHeight out -> value SetHeight
- SetWidth out -> in SetHeight
- SetHeight out -> canvas canvas/Draw_cldd8
- GetImage canvas -> in core/Split_y52on
- core/Split_y52on out -> in GetWidth
- core/Split_y52on out -> in GetHeight
- DrawImage drawimage -> in WaitABit
- WaitABit out -> commands canvas/Draw_cldd8
- GetImage canvas -> canvas SetContrast
- SetVignette canvas -> image DrawImage
- true -> drawevery canvas/Draw_cldd8
- true -> clearevery canvas/Draw_cldd8
- {"x":0,"y":0} -> destpoint DrawImage
- "Anonymous" -> crossorigin GetImage
- "width" -> property SetWidth
- "width" -> key GetWidth
- "height" -> key GetHeight
- "height" -> property SetHeight
- 500 -> delay WaitABit
- INPORT=GetImage.url:url
. INPORT=SetContrast.canvas:canvas was INPORT=SetWidth.in:canvas
. OUTPORT=SetVignette.canvas:output was OUTPORT=canvas/Draw_cldd8.canvas:output
jonnor commented 8 years ago

Nice diffs!