cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load Picture

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) //// Mac OS 14.5 (Sonoma)
Processor: 3.6 GHz 8-Core Intel Core i9 //// Apple M2 Max
Memory: 48 GB 2667 MHz DDR4 //// 32 GB
Graphics: Radeon Pro 580X 8GB //// 12C CPU, 30C GPU
ArchiCAD 25 (5010 USA Full) //// ArchiCAD 27 (4030 USA Full)
TomWaltz
Participant
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
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
Central Innovation
Anonymous
Not applicable
I have need load image from external file

thanks
arete
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
Central Innovation
Anonymous
Not applicable
thanks
arete

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!