Add(MultiElementEx,9901676,154,385) { } BEGIN_SDK Add(EditMultiEx,285396,21,21) { WorkCount=#50:doBmpToJpg=Преобразует bmp (stream) в jpg (stream)| EventCount=#44:onBmpToJpg=выдаёт в поток jpg-картинку (bin)| DataCount=#20:Picture=картинка bmp|32:Quality=Качество сжатия картинки| Width=188 Height=144 VOffset=40 HOffset=40 link(doBmpToJpg,2766042:doEvent1,[(25,67)(25,69)]) } Add(Jpeg,1386999,119,98) { Quality=80 Point(doLoadFromBitmap) Point(Stream) Point(doSaveToStream) Point(Quality) MakeExt(Quality,Качество сжатия картинки,Quality) link(Stream,6072054:Var2,[]) link(Quality,285396:Quality,[(132,28)(74,28)]) } Add(MemoryStream,12446609,119,35) { } Add(DoData,11548064,161,126) { link(onEventData,285396:onBmpToJpg,[(201,132)(201,67)]) link(Data,6072054:Var3,[(167,82)]) } Add(Hub,2766042,28,63) { OutCount=4 link(onEvent1,12446609:doClear,[(100,69)(100,48)]) link(onEvent2,3477613:doValue,[(61,76)(61,90)]) link(onEvent3,1386999:doSaveToStream,[(54,83)(54,125)]) link(onEvent4,11548064:doData,[(48,90)(48,132)]) } Add(GetDataEx,6072054,119,77) { link(Data,12446609:Stream,[]) } Add(Memory,3477613,70,84) { Point(Data) link(onData,1386999:doLoadFromBitmap,[(110,90)(110,118)]) link(Data,285396:Picture,[(76,52)(67,52)]) } END_SDK