Winify – Diff between revs 1 and 3
?pathlinks?
Rev 1 | Rev 3 | |||
---|---|---|---|---|
Line 152... | Line 152... | |||
152 | { |
152 | { |
|
153 | continue; |
153 | continue; |
|
154 | } |
154 | } |
|
Line 155... | Line 155... | |||
155 | |
155 | |
|
- | 156 | var imageBytes = await _httpClient.GetByteArrayAsync(application.Image); |
||
- | 157 | |
||
- | 158 | if (imageBytes == null || imageBytes.Length == 0) |
||
- | 159 | { |
||
- | 160 | continue; |
||
- | 161 | } |
||
156 | var imageBytes = await _httpClient.GetByteArrayAsync(application.Image); |
162 | |
|
157 | using (var memoryStream = new MemoryStream(imageBytes)) |
163 | using (var memoryStream = new MemoryStream(imageBytes)) |
|
158 | { |
164 | { |
|
Line 159... | Line 165... | |||
159 | var image = Image.FromStream(memoryStream); |
165 | var image = Image.FromStream(memoryStream); |