Add(MultiElementEx,9901676,154,399) { } BEGIN_SDK Add(EditMultiEx,285396,21,21) { WorkCount=#50:doBmpToJpg=Преобразует bmp (stream) в jpg (stream)| EventCount=#44:onBmpToJpg=выдаёт в поток jpg-картинку (bin)| VarCount=#38:Jpg-Stream=содержит jpg-картинку (bin)| DataCount=#20:Picture=картинка bmp|32:Quality=Качество сжатия картинки| Width=209 Height=144 link(doBmpToJpg,2766042:doEvent1,[(25,27)(25,48)]) link(Jpg-Stream,4566325:Var2,[(27,152)(118,152)]) } Add(Jpeg,1386999,140,98) { Quality=80 Point(doLoadFromBitmap) Point(Stream) Point(doSaveToStream) Point(Quality) MakeExt(Quality,Качество сжатия картинки,Quality) link(Stream,4566325:Var3,[(146,89)]) link(Quality,285396:Quality,[(153,24)(34,24)]) } Add(MemoryStream,12446609,112,35) { } Add(DoData,11548064,182,126) { link(onEventData,285396:onBmpToJpg,[(222,132)(222,27)]) link(Data,4027200:Var3,[(188,75)]) } Add(DoData,2856172,70,91) { link(onEventData,1386999:doLoadFromBitmap,[(110,97)(110,118)]) link(Data,285396:Picture,[(76,29)(27,29)]) } Add(Hub,2766042,28,42) { OutCount=4 link(onEvent1,12446609:doClear,[]) link(onEvent2,2856172:doData,[(60,55)(60,97)]) link(onEvent3,1386999:doSaveToStream,[(54,62)(54,125)]) link(onEvent4,11548064:doData,[(48,69)(48,132)]) } Add(GetDataEx,4566325,112,84) { link(Data,4027200:Var2,[]) } Add(GetDataEx,4027200,112,70) { link(Data,12446609:Stream,[]) } END_SDK