Home › Forums › Nazca › AttributeError: module ‘nazca’ has no attribute ‘image’ › Reply To: AttributeError: module ‘nazca’ has no attribute ‘image’
22 March 2022 at 06:51
#6756
bhchoi98
Participant
Hi Ronald,
Thanks for the reply. I installed nazca again as installation guide, and now it works fine.
Actually i have one more question about ‘image’ attribute of nazca package.
As the following tutorial: https://nazca-design.org/convert-image-to-gds/, I tried to invert the image as below.
nd.image(‘image.jpg’, invert=True).put(1000)
nd.export_gds()
But the output’s size was not the same as the input (e.g. 1000 by 1000 png file-> 1000 mircombeter by 800 micrometer).
Do you know how to solve this problem?
Thank you.