2022.02.19.1
|
@ -1,4 +1,4 @@
|
||||||
import os
|
import webbrowser
|
||||||
|
|
||||||
from MockupEngineer import MockupEngineerInstance
|
from MockupEngineer import MockupEngineerInstance
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ def main():
|
||||||
print('- - - - - - - - - -\nWorking...')
|
print('- - - - - - - - - -\nWorking...')
|
||||||
mockup = mockup.generate(template.id, screenshot, color, external_storage=True)
|
mockup = mockup.generate(template.id, screenshot, color, external_storage=True)
|
||||||
print('- - - - - - - - - -\nSuccess: {}'.format(mockup))
|
print('- - - - - - - - - -\nSuccess: {}'.format(mockup))
|
||||||
os.system('open {}'.format(mockup))
|
webbrowser.open(mockup, new=0, autoraise=True)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 370 KiB After Width: | Height: | Size: 288 KiB |
Before Width: | Height: | Size: 367 KiB After Width: | Height: | Size: 313 KiB |
Before Width: | Height: | Size: 324 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 295 KiB |
Before Width: | Height: | Size: 296 KiB After Width: | Height: | Size: 219 KiB |
Before Width: | Height: | Size: 359 KiB After Width: | Height: | Size: 269 KiB |
Before Width: | Height: | Size: 376 KiB After Width: | Height: | Size: 263 KiB |
Before Width: | Height: | Size: 258 KiB After Width: | Height: | Size: 193 KiB |
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 188 KiB |
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 207 KiB |
BIN
MockupEngineer/templates/iphone13/blue.png
Normal file
After Width: | Height: | Size: 281 KiB |
24
MockupEngineer/templates/iphone13/config.ini
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# https://github.com/ulbwazhine/MockupEngineer
|
||||||
|
|
||||||
|
[info]
|
||||||
|
manufacturer = Apple
|
||||||
|
name = iPhone 13
|
||||||
|
type = phone
|
||||||
|
year = 2021
|
||||||
|
width = 1170
|
||||||
|
height = 2532
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
blue = blue.png
|
||||||
|
midnight = midnight.png
|
||||||
|
pink = pink.png
|
||||||
|
product red = red.png
|
||||||
|
starlight = starlight.png
|
||||||
|
|
||||||
|
[image]
|
||||||
|
width = 1170
|
||||||
|
height = 2532
|
||||||
|
x = 200
|
||||||
|
y = 200
|
||||||
|
mask = false
|
||||||
|
rotate = true
|
BIN
MockupEngineer/templates/iphone13/midnight.png
Normal file
After Width: | Height: | Size: 221 KiB |
BIN
MockupEngineer/templates/iphone13/pink.png
Normal file
After Width: | Height: | Size: 252 KiB |
BIN
MockupEngineer/templates/iphone13/preview.png
Normal file
After Width: | Height: | Size: 215 KiB |
BIN
MockupEngineer/templates/iphone13/red.png
Normal file
After Width: | Height: | Size: 249 KiB |
BIN
MockupEngineer/templates/iphone13/starlight.png
Normal file
After Width: | Height: | Size: 170 KiB |
BIN
MockupEngineer/templates/iphone13mini/blue.png
Normal file
After Width: | Height: | Size: 243 KiB |
24
MockupEngineer/templates/iphone13mini/config.ini
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# https://github.com/ulbwazhine/MockupEngineer
|
||||||
|
|
||||||
|
[info]
|
||||||
|
manufacturer = Apple
|
||||||
|
name = iPhone 13 Mini
|
||||||
|
type = phone
|
||||||
|
year = 2021
|
||||||
|
width = 1080
|
||||||
|
height = 2340
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
blue = blue.png
|
||||||
|
midnight = midnight.png
|
||||||
|
pink = pink.png
|
||||||
|
product red = red.png
|
||||||
|
starlight = starlight.png
|
||||||
|
|
||||||
|
[image]
|
||||||
|
width = 1080
|
||||||
|
height = 2340
|
||||||
|
x = 200
|
||||||
|
y = 200
|
||||||
|
mask = false
|
||||||
|
rotate = true
|
BIN
MockupEngineer/templates/iphone13mini/midnight.png
Normal file
After Width: | Height: | Size: 189 KiB |
BIN
MockupEngineer/templates/iphone13mini/pink.png
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
MockupEngineer/templates/iphone13mini/preview.png
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
MockupEngineer/templates/iphone13mini/red.png
Normal file
After Width: | Height: | Size: 216 KiB |
BIN
MockupEngineer/templates/iphone13mini/starlight.png
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
MockupEngineer/templates/iphone13pro/blue.png
Normal file
After Width: | Height: | Size: 279 KiB |
23
MockupEngineer/templates/iphone13pro/config.ini
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# https://github.com/ulbwazhine/MockupEngineer
|
||||||
|
|
||||||
|
[info]
|
||||||
|
manufacturer = Apple
|
||||||
|
name = iPhone 13 Pro
|
||||||
|
type = phone
|
||||||
|
year = 2021
|
||||||
|
width = 1170
|
||||||
|
height = 2532
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
gold = gold.png
|
||||||
|
graphite = graphite.png
|
||||||
|
sierra blue = blue.png
|
||||||
|
silver = silver.png
|
||||||
|
|
||||||
|
[image]
|
||||||
|
width = 1170
|
||||||
|
height = 2532
|
||||||
|
x = 200
|
||||||
|
y = 200
|
||||||
|
mask = false
|
||||||
|
rotate = true
|
BIN
MockupEngineer/templates/iphone13pro/gold.png
Normal file
After Width: | Height: | Size: 286 KiB |
BIN
MockupEngineer/templates/iphone13pro/graphite.png
Normal file
After Width: | Height: | Size: 211 KiB |
BIN
MockupEngineer/templates/iphone13pro/preview.png
Normal file
After Width: | Height: | Size: 229 KiB |
BIN
MockupEngineer/templates/iphone13pro/silver.png
Normal file
After Width: | Height: | Size: 328 KiB |
BIN
MockupEngineer/templates/iphone13promax/blue.png
Normal file
After Width: | Height: | Size: 321 KiB |
23
MockupEngineer/templates/iphone13promax/config.ini
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# https://github.com/ulbwazhine/MockupEngineer
|
||||||
|
|
||||||
|
[info]
|
||||||
|
manufacturer = Apple
|
||||||
|
name = iPhone 13 Pro Max
|
||||||
|
type = phone
|
||||||
|
year = 2021
|
||||||
|
width = 1284
|
||||||
|
height = 2778
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
gold = gold.png
|
||||||
|
graphite = graphite.png
|
||||||
|
sierra blue = blue.png
|
||||||
|
silver = silver.png
|
||||||
|
|
||||||
|
[image]
|
||||||
|
width = 1284
|
||||||
|
height = 2778
|
||||||
|
x = 201
|
||||||
|
y = 202
|
||||||
|
mask = true
|
||||||
|
rotate = true
|
BIN
MockupEngineer/templates/iphone13promax/gold.png
Normal file
After Width: | Height: | Size: 332 KiB |
BIN
MockupEngineer/templates/iphone13promax/graphite.png
Normal file
After Width: | Height: | Size: 268 KiB |
BIN
MockupEngineer/templates/iphone13promax/mask.png
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
MockupEngineer/templates/iphone13promax/preview.png
Normal file
After Width: | Height: | Size: 193 KiB |
BIN
MockupEngineer/templates/iphone13promax/silver.png
Normal file
After Width: | Height: | Size: 346 KiB |
Before Width: | Height: | Size: 265 KiB After Width: | Height: | Size: 200 KiB |
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 250 KiB |
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 239 KiB |
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 204 KiB |
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 328 KiB After Width: | Height: | Size: 241 KiB |
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 184 KiB |
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 251 KiB After Width: | Height: | Size: 193 KiB |
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 231 KiB |
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 236 KiB After Width: | Height: | Size: 182 KiB |
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 253 KiB After Width: | Height: | Size: 190 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 216 KiB |
Before Width: | Height: | Size: 328 KiB After Width: | Height: | Size: 242 KiB |
Before Width: | Height: | Size: 339 KiB After Width: | Height: | Size: 297 KiB |
|
@ -78,7 +78,7 @@ def run_pypi():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
create_readme()
|
# create_readme()
|
||||||
# create_examples()
|
# create_examples()
|
||||||
bump_version()
|
# bump_version()
|
||||||
run_pypi()
|
run_pypi()
|
||||||
|
|
26
readme.md
|
@ -120,6 +120,32 @@ Full list of all currently supported mockups
|
||||||
* *Pacific Blue*
|
* *Pacific Blue*
|
||||||
* *Silver*
|
* *Silver*
|
||||||
|
|
||||||
|
* [Apple iPhone 13](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone13/preview.png) (2021) [1170 x 2532]
|
||||||
|
* *Blue*
|
||||||
|
* *Midnight*
|
||||||
|
* *Pink*
|
||||||
|
* *Product Red*
|
||||||
|
* *Starlight*
|
||||||
|
|
||||||
|
* [Apple iPhone 13 Mini](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone13mini/preview.png) (2021) [1080 x 2340]
|
||||||
|
* *Blue*
|
||||||
|
* *Midnight*
|
||||||
|
* *Pink*
|
||||||
|
* *Product Red*
|
||||||
|
* *Starlight*
|
||||||
|
|
||||||
|
* [Apple iPhone 13 Pro](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone13pro/preview.png) (2021) [1170 x 2532]
|
||||||
|
* *Gold*
|
||||||
|
* *Graphite*
|
||||||
|
* *Sierra Blue*
|
||||||
|
* *Silver*
|
||||||
|
|
||||||
|
* [Apple iPhone 13 Pro Max](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphone13promax/preview.png) (2021) [1284 x 2778]
|
||||||
|
* *Gold*
|
||||||
|
* *Graphite*
|
||||||
|
* *Sierra Blue*
|
||||||
|
* *Silver*
|
||||||
|
|
||||||
* [Apple iPhone SE](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphonese2020/preview.png) (2020) [750 x 1334]
|
* [Apple iPhone SE](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/iphonese2020/preview.png) (2020) [750 x 1334]
|
||||||
* *Black*
|
* *Black*
|
||||||
* *Product Red*
|
* *Product Red*
|
||||||
|
|
2
setup.py
|
@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='MockupEngineer',
|
name='MockupEngineer',
|
||||||
version='2022.02.03.5',
|
version='2022.02.19.1',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
url='https://github.com/ulbwazhine/MockupEngineer',
|
url='https://github.com/ulbwazhine/MockupEngineer',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
|
|