Photoroom Basic
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
Photoroom Basic
Chris, on another topic... I downloaded your Photoroom Basic but wasn't able to get it to do anything on a Mac. It would not let me open any of my image files (tif, jpg or png). Does it depend on file extensions (I have all of my hidden)?
Otherwise, the feature rich menu set looked intriguing.
Best,
-- Mark
Otherwise, the feature rich menu set looked intriguing.
Best,
-- Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
Re: Photoroom Basic
Hi Mark,
Yes, opening an image is dependent on the open with filter in the file menu, on my other post, Klaus mentioned a way to filter for mac users, and suggested the proper code. You can also disabled the filters for opening a file, by removing the "with type" or "with filter" part of the code. That way all files will be shown.
It is pretty interesting some of the things you can do with the imageData, you should definitely have a look at all the filters. In the next update, ill have that problem fixed so it will be usable cross-platform. I was supposed to have it done already but haven't got around to it, i've been to busy adding filters, and correcting values in the menus. In the meantime, have a look, all filters are free to use!
Yes, opening an image is dependent on the open with filter in the file menu, on my other post, Klaus mentioned a way to filter for mac users, and suggested the proper code. You can also disabled the filters for opening a file, by removing the "with type" or "with filter" part of the code. That way all files will be shown.
It is pretty interesting some of the things you can do with the imageData, you should definitely have a look at all the filters. In the next update, ill have that problem fixed so it will be usable cross-platform. I was supposed to have it done already but haven't got around to it, i've been to busy adding filters, and correcting values in the menus. In the meantime, have a look, all filters are free to use!
Chris Bodell
Photo Room - (Editor Download)
Photo Room - (Editor Download)
Re: Photoroom Basic
Hi Chris,
my code will work CROSS PLATFORM Mac AND Win!
Best
Klaus
my code will work CROSS PLATFORM Mac AND Win!
Best
Klaus
Re: Photoroom Basic
Hi Klaus,
Thanks again for the code sample!
Thanks again for the code sample!
Chris Bodell
Photo Room - (Editor Download)
Photo Room - (Editor Download)
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
Re: Photoroom Basic
No problem, I'm looking forward to it. (actually found a work around. If you use the open file dialog and then use he search tool that is in the dialog to find a picture file the dialog will let you select it). One thing I did notice is that some of the pictures I opened looked distorted in that they seemed squished a bit. Have you noticed that as well?cbodell wrote:I was supposed to have it done already but haven't got around to it, i've been to busy adding filters, and correcting values in the menus. In the meantime, have a look, all filters are free to use!
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
Re: Photoroom Basic
Hi again Mark,
Yeah, i have the picture control well locked at a specific size for now, testing reasons, mostly for testing the filters and effects. I plan to integrate a scroll feature but right now i'm still developing features, and other filters. I write one, then think of another one!
Because the picture well is locked though, it distorts the image to fit the well size. You can set the lockLoc property to false if you prefer, then when a photo is opened, it will automatically generate the appropriate size. Keep in mind though, because the Rev/LiveCode can't parse data as fast as some other languages, the effects would take longer if the photo is larger. I'm going to have a loading indicator eventually. So a user wouldn't think the engine has froze.
Yeah, i have the picture control well locked at a specific size for now, testing reasons, mostly for testing the filters and effects. I plan to integrate a scroll feature but right now i'm still developing features, and other filters. I write one, then think of another one!

Because the picture well is locked though, it distorts the image to fit the well size. You can set the lockLoc property to false if you prefer, then when a photo is opened, it will automatically generate the appropriate size. Keep in mind though, because the Rev/LiveCode can't parse data as fast as some other languages, the effects would take longer if the photo is larger. I'm going to have a loading indicator eventually. So a user wouldn't think the engine has froze.
Chris Bodell
Photo Room - (Editor Download)
Photo Room - (Editor Download)
Re: Photoroom Basic
Hi Users,
I have an update verison available for Photo Room. If anyone has any suggestions or features they would like to see, please notify my. I have adjusted many of the menu filters and added new as well. Also removed some obselete features as the functions have been changed causing mis-rendering. I am thinking about incorporating a tool palette, and color palette for better customization of filters and tools.
If anyone has previous experience with image data and would like to see there effects added to the software/stack, please let me know! Credit wil be given to those who contribute!
Email: cbodell@live.com
I have an update verison available for Photo Room. If anyone has any suggestions or features they would like to see, please notify my. I have adjusted many of the menu filters and added new as well. Also removed some obselete features as the functions have been changed causing mis-rendering. I am thinking about incorporating a tool palette, and color palette for better customization of filters and tools.
If anyone has previous experience with image data and would like to see there effects added to the software/stack, please let me know! Credit wil be given to those who contribute!
Email: cbodell@live.com
Chris Bodell
Photo Room - (Editor Download)
Photo Room - (Editor Download)
Re: Photoroom Basic
Hi Chris,
thanks for posting the new version.
is still in there.
There is a breakpoint in the open menu
thanks for posting the new version.
Code: Select all
case "Redwood"
get addFilter_ConvertColorScaleTestTest(the long id of img "Image","171,78,82")
break
case "Mahogany"
get addFilter_ConvertColorScaleTestTest(the long id of img "Image","192,64,0")
break
There is a breakpoint in the open menu
Code: Select all
if the tImageSizeType of cd 1 of this stack is "pixel" then[code] going into debug mode when opening an image file.
maybe you find time to encapsulate the enableMenu and disablemenu handler in the card script with Lock screen/unlock screen?
When testing your new versions I first fix these.
With all the nice effects you have added testing without a undo or revert to original is tedious, command-O does not work on a Mac, so its going to menubutton file etc.
Kind regards
Bernd
Re: Photoroom Basic
Hi Bernd,
I actually fixed those issues, including the breakpoint, i forgot to update the skydrive with the new version. Ill do that next.
Thanks Bernd
I actually fixed those issues, including the breakpoint, i forgot to update the skydrive with the new version. Ill do that next.
Thanks Bernd
Chris Bodell
Photo Room - (Editor Download)
Photo Room - (Editor Download)