numpyimage 3.0.0__tar.gz → 3.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numpyimage
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Load, save, & manipulate image files as numpy arrays
5
5
  Author-email: Jasper Phelps <jasper.s.phelps@gmail.com>
6
6
  License: MIT License
@@ -42,7 +42,7 @@ codec_aliases = {
42
42
  'H.265': 'libx265',
43
43
  }
44
44
 
45
- supported_extensions = ['mp4', 'mkv', 'avi', 'mov']
45
+ supported_extensions = ['mp4', 'mkv', 'avi', 'mov', 'webm']
46
46
 
47
47
 
48
48
  def load_video(filename,
@@ -319,7 +319,7 @@ class VideoStreamer:
319
319
  return int(frame_number) * self.pts_delta + self.pts0
320
320
 
321
321
  def frame_number_to_time(self, frame_number: int) -> float:
322
- return self.frame_number_to_pts(frame_number) * self.time_base
322
+ return float(self.frame_number_to_pts(frame_number) * self.time_base)
323
323
 
324
324
  def __getitem__(self, key) -> np.ndarray:
325
325
  if isinstance(key, tuple):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numpyimage
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Load, save, & manipulate image files as numpy arrays
5
5
  Author-email: Jasper Phelps <jasper.s.phelps@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
4
4
 
5
5
  [project]
6
6
  name = 'numpyimage'
7
- version = '3.0.0'
7
+ version = '3.0.1'
8
8
  description = 'Load, save, & manipulate image files as numpy arrays'
9
9
  readme.file = 'README.md'
10
10
  readme.content-type = 'text/markdown'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes