Skip to content
Permalink
Browse files

Use lossless JPEG2000 files for the new Apple Watches

  • Loading branch information
eelco committed Sep 29, 2016
1 parent 9b99341 commit e33975095059cf4befa9e59d6b5b398360d481bc
Showing with 3 additions and 3 deletions.
  1. BIN ...amerjs.com/static/DeviceResources/apple-watch-nike-plus-38mm-silver-aluminum-flat-silver-volt.jp2
  2. BIN ...merjs.com/static/DeviceResources/apple-watch-nike-plus-38mm-silver-aluminum-flat-silver-white.jp2
  3. BIN ...rjs.com/static/DeviceResources/apple-watch-nike-plus-38mm-space-gray-aluminum-black-cool-gray.jp2
  4. BIN ...framerjs.com/static/DeviceResources/apple-watch-nike-plus-38mm-space-gray-aluminum-black-volt.jp2
  5. BIN ...amerjs.com/static/DeviceResources/apple-watch-nike-plus-42mm-silver-aluminum-flat-silver-volt.jp2
  6. BIN ...merjs.com/static/DeviceResources/apple-watch-nike-plus-42mm-silver-aluminum-flat-silver-white.jp2
  7. BIN ...rjs.com/static/DeviceResources/apple-watch-nike-plus-42mm-space-gray-aluminum-black-cool-gray.jp2
  8. BIN ...framerjs.com/static/DeviceResources/apple-watch-nike-plus-42mm-space-gray-aluminum-black-volt.jp2
  9. BIN extras/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-black-steel-black.jp2
  10. BIN extras/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-edition.jp2
  11. BIN ...ramerjs.com/static/DeviceResources/apple-watch-series-2-38mm-rose-gold-aluminum-midnight-blue.jp2
  12. BIN ...resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-cocoa.jp2
  13. BIN ...ources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-concrete.jp2
  14. BIN ...rces.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-ocean-blue.jp2
  15. BIN ...s/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-red.jp2
  16. BIN ...urces.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-turquoise.jp2
  17. BIN ...resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-white.jp2
  18. BIN ...esources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-silver-aluminum-yellow.jp2
  19. BIN ...urces.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-space-gray-aluminum-black.jp2
  20. BIN ...resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-sport-aluminum-walnut.jp2
  21. BIN extras/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-38mm-steel-white.jp2
  22. BIN extras/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-edition.jp2
  23. BIN ...s/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-gold-aluminum-cocoa.jp2
  24. BIN ...ramerjs.com/static/DeviceResources/apple-watch-series-2-42mm-rose-gold-aluminum-midnight-blue.jp2
  25. BIN ...ources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-concrete.jp2
  26. BIN ...resources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-green.jp2
  27. BIN ...rces.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-light-pink.jp2
  28. BIN ...rces.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-ocean-blue.jp2
  29. BIN ...urces.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-pink-sand.jp2
  30. BIN ...s/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-red.jp2
  31. BIN ...urces.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-turquoise.jp2
  32. BIN ...resources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-white.jp2
  33. BIN ...esources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-silver-aluminum-yellow.jp2
  34. BIN ...sources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-space-black-steel-black.jp2
  35. BIN ...urces.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-space-gray-aluminum-black.jp2
  36. BIN extras/resources.framerjs.com/static/DeviceResources/apple-watch-series-2-42mm-steel-white.jp2
  37. +3 −3 scripts/resources-optimize.py
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,12 +14,12 @@
webp_quality = 90


#os.system("rm -Rf '%s'" % path)
#os.system("cp -Rf '%s' '%s'" % (os.path.join("extras", "DeviceResources"), path))
os.system("rm -Rf '%s'" % path)
os.system("cp -Rf '%s' '%s'" % (os.path.join("extras", "DeviceResources"), path))
os.chdir(path)

for fileName in os.listdir("."):
if fileName.endswith(".png") and (fileName.startswith("apple-watch-series") or fileName.startswith("apple-watch-nike")):
if fileName.endswith(".png"):
print fileName
os.system("sips -s format jp2 %s -s formatOptions %s --out %s" % (fileName, jp2_quality, fileName.replace(".png", ".jp2")))
os.system("cwebp -q %s '%s' -o '%s'" % (webp_quality, fileName, fileName.replace(".png", ".webp")))

0 comments on commit e339750

Please sign in to comment.
You can’t perform that action at this time.