diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-05-10 14:49:12 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-05-10 14:49:12 +0300 |
| commit | e5200c6ba6a1b13525cc1261992ad61b03f93951 (patch) | |
| tree | 3035ae63f69ceeafe0e4ee1fc329d14010269455 /Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs | |
| parent | 5217f784963202cdf07b05930f17ced91d423652 (diff) | |
| download | Tango-e5200c6ba6a1b13525cc1261992ad61b03f93951.tar.gz Tango-e5200c6ba6a1b13525cc1261992ad61b03f93951.zip | |
Implemented TWN & TCC Import on PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs b/Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs index 2efa94936..81fcf4519 100644 --- a/Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs +++ b/Software/Visual_Studio/Tango.Pulse/TwnFileReader.cs @@ -64,6 +64,7 @@ namespace Tango.Pulse //pixels while maintaining aspect ratio. MemoryStream ms = new MemoryStream(reader.ReadBytes((int)thumbnail_size)); twnFile.Thumbnail = new Bitmap(ms); + twnFile.ThumbnailData = ms.ToArray(); //Array of Brush Segment. The number of brush segments must be defined in the header. |
