Cocoa:PhotoshopImage类和调整大小

Cocoa:PhotoshopImage类和调整大小,cocoa,image,ipad,resize,rotation,Cocoa,Image,Ipad,Resize,Rotation,有人知道如何调整PhotoshopImage实例的大小吗? 我不使用UIImageView,因为我需要加载很多图像,而PhotoshopImage类处理得更好。你的起步真的很不稳定!Photoshop有关于将javascript vbscript与Photoshop dll一起使用的文档:。这些相同的方法是通过COM向C公开的,我想知道Objective-C RedGate是否可以使用这些方法,如果您涉猎一下,vs object browser会有所帮助。不要在C代码面前畏缩!关键是photos

有人知道如何调整PhotoshopImage实例的大小吗?
我不使用UIImageView,因为我需要加载很多图像,而PhotoshopImage类处理得更好。

你的起步真的很不稳定!Photoshop有关于将javascript vbscript与Photoshop dll一起使用的文档:。这些相同的方法是通过COM向C公开的,我想知道Objective-C RedGate是否可以使用这些方法,如果您涉猎一下,vs object browser会有所帮助。不要在C代码面前畏缩!关键是photoshop公开了可以使用的DLL。ASP.NET通过COM公开photoshop.dll。我是objective-c的新手,不是c的兽医!我用C语言在我的windows机器上运行了这段代码。这段代码启动了一个网页,启动了我的photoshop cs3版本,遍历了我的文件目录,创建了一个Adobe图像库。祝你好运,把你在objective-c中找到的东西发回来。我认为objective-c可以运行原生c,我也看到了一些用原生c使用photoshop的文档。不管怎样,我都要写一些代码回来。我是一个半新手,所以如果这不是你所说的photoshop图像,我道歉! CDUB PS这些都是被曝光的photoshop方法,我没有编造任何东西

使用制度

使用System.Collections.Generic

使用System.Linq

使用System.Web

使用System.Web.UI

使用System.Web.UI.WebControl

使用GoogleTalkAPILib

使用ps=Photoshop

使用Photoshop

名称空间photoshop

{

C:\Users\Photoshoptryrescl,ob

            //you can also use c# to run a javascript 
            // co.DoJavaScript("hey.js",e,d );


            co.MakePhotoGallery(oab, "C:\\photoshopdump", ob);

        }
        catch (Exception ex)
        { Trace.Write(ex.Message.ToString()); }




    }
}
}

使用制度

使用System.Collections.Generic

使用System.Linq

使用System.Web

使用System.Web.UI

使用System.Web.UI.WebControl

使用ps=Photoshop

使用Photoshop

使用Microsoft.Win32.SafeHandles

使用Microsoft.Win32

使用微软

名称空间photoshop

{ 公共代表无效

public class Class1 : ApplicationClass, ArtLayer, Document

{

    public Class1()
    { }
    public void addBlur()
    { }
    public void addBlur1(string sa)
    { }

    #region ArtLayer Members

    public void AdjustBrightnessContrast(int Brightness, int Contrast)
    {
        throw new NotImplementedException();
    }

    public void AdjustColorBalance(object Shadows, object Midtones, object Highlights, object PreserveLuminosity)
    {
        throw new NotImplementedException();
    }

    public void AdjustCurves(object CurveShape)
    {
        throw new NotImplementedException();
    }

    public void AdjustLevels(int InputRangeStart, int InputRangeEnd, double InputRangeGamma, int OutputRangeStart, int OutputRangeEnd)
    {
        throw new NotImplementedException();
    }

    public bool AllLocked
    {
        get
        {
            throw new NotImplementedException();
        }
        set
        {
            throw new NotImplementedException();
        }
    }

    public void ApplyAddNoise(double Amount, PsNoiseDistribution Distribution, bool Monochromatic)
    {
        throw new NotImplementedException();
    }

    public void ApplyAverage()
    {
        throw new NotImplementedException();
    }

    public void ApplyBlur()
    {
        //  throw new NotImplementedException();
    }

    public void ApplyBlurMore()
    {
        throw new NotImplementedException();
    }
//这些接口公开了大量可以明确实现的方法
//这并不是你所说的全部

一点都不清楚。PhotoshopImage是你创建的一个私有类还是什么?我遗漏了photoshop也支持applescript…不确定这是否有任何帮助。上面代码的关键也是从接口继承并使用相应的方法。查看文档我在前面提到过大量的代码…这是一个不稳定的开始!您可以在文档指定的方式之外使用这些dll,这将使任何了解面向对象编程、接口等的人走上正确的道路!NSArray*数组=[NSArray arrayWithObjects:@C:\\One.jpg,@C:\\Two.jpg,@C:\\Three.jpg,@C:\\Four.jpg,nil];用于数组{NSLog@element:%@,元素;很抱歉上面的内容不完整。有什么可以阻止您使用此目标c代码I CnP'd运行相同的方法接口?NSArray*数组=[NSArray arrayWithObjects:@C:\\One.jpg、@C:\\Two.jpg、@C:\\Three.jpg、@C:\\Four.jpg、nil];用于数组中的NSString*元素{//objective c相当于……//co.MakePhotoGalleryoab,c:\\photoshopdump,ob;对于初学者:这些Photoshop DLL在iPad上来自何处?为什么objective-c中的示例中包含Windows文件路径?
public class Class1 : ApplicationClass, ArtLayer, Document

{

    public Class1()
    { }
    public void addBlur()
    { }
    public void addBlur1(string sa)
    { }

    #region ArtLayer Members

    public void AdjustBrightnessContrast(int Brightness, int Contrast)
    {
        throw new NotImplementedException();
    }

    public void AdjustColorBalance(object Shadows, object Midtones, object Highlights, object PreserveLuminosity)
    {
        throw new NotImplementedException();
    }

    public void AdjustCurves(object CurveShape)
    {
        throw new NotImplementedException();
    }

    public void AdjustLevels(int InputRangeStart, int InputRangeEnd, double InputRangeGamma, int OutputRangeStart, int OutputRangeEnd)
    {
        throw new NotImplementedException();
    }

    public bool AllLocked
    {
        get
        {
            throw new NotImplementedException();
        }
        set
        {
            throw new NotImplementedException();
        }
    }

    public void ApplyAddNoise(double Amount, PsNoiseDistribution Distribution, bool Monochromatic)
    {
        throw new NotImplementedException();
    }

    public void ApplyAverage()
    {
        throw new NotImplementedException();
    }

    public void ApplyBlur()
    {
        //  throw new NotImplementedException();
    }

    public void ApplyBlurMore()
    {
        throw new NotImplementedException();
    }