cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Load Picture

Anonymous
Not applicable
I have nedd to load an picture in achicad project throw add-on.
I have look the Element_manager example, but not find the mode for retriving the pixel image size...

Idea?

bye arete
6 REPLIES 6

Stress Co_
Advisor
Select Picture and open "Figure tool"
Marc Corney, Architect
Red Canoe Architecture, P. A.

Mac OS 10.15.7 (Catalina)
Processor: 3.6 GHz 8-Core Intel Core i9
Memory: 48 GB 2667 MHz DDR4
Graphics: Radeon Pro 580X 8GB
ArchiCAD 25 (5010 USA Full)

TomWaltz
Newcomer
I think arete meant through the API programming system for creating add-ons.

I'm not sure... maybe Oleg or Ralph would know?
Tom Waltz

Ralph Wessel
Mentor
arete wrote:
I have nedd to load an picture in achicad project throw add-on.
I have look the Element_manager example, but not find the mode for retriving the pixel image size...
I need more information - what is the source of the image you are trying to load?
- From a picture placed in a drawing?
- From a picture in a GDL object?
- From a picture in a loaded library?
- From an arbitrary external file?

Ralph.
Ralph Wessel BArch

Anonymous
Not applicable
I have need load image from external file

thanks
arete

Ralph Wessel
Mentor
arete wrote:
I have need load image from external file
OK - the ArchiCAD API isn't going to help you with that. I suggest taking a look at the QuickTime API from Apple http://developer.apple.com/documentation/QuickTime/

This API is crossplatform (Mac & Win) and deals with a wide variety of image formats. ArchiCAD itself uses the QuickTime API (it is installed with ArchiCAD). You can readily obtain info like size and resolution for a specified image file. Look at the documentation for 'Import and Export' http://developer.apple.com/documentation/QuickTime/RM/ImportExport/DataExchange/index.html

Ralph.
Ralph Wessel BArch

Anonymous
Not applicable
thanks
arete

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!