Search found 15 matches

by bogho
Thu Jul 22, 2004 5:41 pm
Forum: Photoshop-compatible Plugins
Topic: CANCEL or to ABORT a filter plugin!?
Replies: 0
Views: 4113

CANCEL or to ABORT a filter plugin!?

It is possible to CANCEL or to ABORT a filter plugin!? In my plugin after I send the data to the automation plugin, I want to cancel the filter, so that photoshop to ignore its execution. At this moment there is a MyFilter entry in the history, and so, Photoshop treats image as change and ask me if ...
by bogho
Wed Jul 21, 2004 8:05 pm
Forum: Photoshop-compatible Plugins
Topic: IsDirty !?
Replies: 1
Views: 3282

Some Code! Not working!

The keyIsDirty key is for the classDocument. So i do something like this: SPErr SetNotDirty() { PIActionReference reference = NULL; PIActionDescriptor result = NULL; PIActionDescriptor desc = NULL; PIActionDescriptor document = NULL; DescriptorTypeID runtimeEventID; SPErr error = kSPNoError; error =...
by bogho
Tue Jul 20, 2004 9:00 am
Forum: Photoshop-compatible Plugins
Topic: IsDirty !?
Replies: 1
Views: 3282

IsDirty !?

Does anyone know how a image can be set as not changed (value for isDirty must be false) ? Using the Adobe SDK?
by bogho
Tue Jul 13, 2004 10:38 am
Forum: Photoshop-compatible Plugins
Topic: Algoritm for scale an image!
Replies: 1
Views: 3019

Algoritm for scale an image!

Hi! Does any one know an algoritm to scale an image, by keeping the aspect ratio. The image has dimension (PWidth, PHeight), and I want to scale it to the dimension (DimWidth, DimHeight). If the (PWidth, PHeight) are less then (DimWidth, DimHeight) than don't do any scale otherwise scale the image t...
by bogho
Tue Jul 06, 2004 1:02 pm
Forum: Photoshop-compatible Plugins
Topic: Pixels and ADMImageRef
Replies: 0
Views: 4145

Pixels and ADMImageRef

Hi! Me again! Right now I try something else and it started to show something that looks with my image, but not very correct. The function i use i now is: ADMImageRef GetImage() { int16 tileHeight = filterRecord->outTileHeight; int16 tileWidth = filterRecord->outTileWidth; if (tileWidth == 0 || tile...
by bogho
Sat Jul 03, 2004 4:02 pm
Forum: Photoshop-compatible Plugins
Topic: Get the pixels from Image
Replies: 1
Views: 3003

Get the pixels from Image

How can I get the pixels from the current opened Image in photoshop using an automation plugin?
by bogho
Sat Jul 03, 2004 4:00 pm
Forum: Photoshop-compatible Plugins
Topic: Why does not update the color?
Replies: 3
Views: 4269

The FOR is this:

for(long i=0;i<imageLen;i++)
by bogho
Sat Jul 03, 2004 3:59 pm
Forum: Photoshop-compatible Plugins
Topic: Why does not update the color?
Replies: 3
Views: 4269

I resolved the problem : I was mixing access methods here. BeginBaseAddressAccess() an ASByte pointer, which I can use to walk thru the image and set values in the 0 to 255 range. Like: ASByte* theImage = sADMImage->BeginBaseAddressAccess(imageRef); for(long i=0;i<imageLen;i++) { theImage[i] = 128; ...
by bogho
Fri Jul 02, 2004 7:06 pm
Forum: Photoshop-compatible Plugins
Topic: FilterRecord structure
Replies: 0
Views: 3746

FilterRecord structure

How can transmit a FilterRecord structure from an filter plugin to a automation plugin;
I created a hidden filter plugin and called it from an automation plugin, but I didn't realized how to get the FilterRecord structure from one to the other.
by bogho
Fri Jul 02, 2004 4:29 pm
Forum: Photoshop-compatible Plugins
Topic: Why does not update the color?
Replies: 3
Views: 4269

When I used the GetPixel method returnd (0,0,0) and when try do draw the image with sADMDrawer, draws a black rectangle with the correct width and height
by bogho
Fri Jul 02, 2004 4:22 pm
Forum: Photoshop-compatible Plugins
Topic: Why does not update the color?
Replies: 3
Views: 4269

Why does not update the color?

Hello! I tried to create a new ADMImageRef and fill it with some color. The code is: ADMImageRef GetImage(int width, int height) { ASPoint pixelPoint; ASRGBColor color; ADMImageRef imageRef = sADMImage->CreateBitmap(width,height); sADMImage->BeginBaseAddressAccess(imageRef); for (long i=0; i<width;i...
by bogho
Fri Jul 02, 2004 10:15 am
Forum: Photoshop-compatible Plugins
Topic: Open files as hidden
Replies: 2
Views: 3497

I want to create an automation plugin!
by bogho
Thu Jul 01, 2004 7:18 pm
Forum: Photoshop-compatible Plugins
Topic: DisplayPixel method from FilterRecord structure
Replies: 0
Views: 4227

DisplayPixel method from FilterRecord structure

This is an ideea that just "come in". Can I use the displayPixels from the FilterRecord structure? So using the filter plugin I get the FilterRecord structer for this image, and yhen open MyDialog, create a port to this dialog and then to call displayPixels method, which draws the pixel on the curre...
by bogho
Thu Jul 01, 2004 6:44 pm
Forum: Photoshop-compatible Plugins
Topic: Open files as hidden
Replies: 2
Views: 3497

Open files as hidden

It is posibile to open 1 or more files, using plugin scripting, but without, showing them in window.
All I want to do is to open the files, get the PixelMap of this files and then close the files. And, during, this process I dont want to show the files to the user.
by bogho
Mon Jun 28, 2004 10:41 am
Forum: Photoshop-compatible Plugins
Topic: Create a photoshop plug-in
Replies: 3
Views: 5385

I know about the ASN form Adobe, but there is a problem with the subscribe address
"Remote host said: 550 No such user - psmtp"

Go to advanced search