Tuesday, December 6, 2011

Add image resource to the ''.r'' file

Hi,

I'd like to embed small (16x16 pix) image resources (ex. png, jpeg) into the ''.r'' file. How can I do this?Add image resource to the ''.r'' file
You can use the 'read' command. See ''Building and Managing Programs in MPW'' for a complete reference to Rez:

http://developer.apple.com/tools/mpw-tools/books.html#Building
  • domain names
  • Mac- PS CS2 font issue (probably)...

    Hi all!-

    I just rearranged all of my fonts (using font agent pro) and now, any time I do ANYTHING, I get ''Could not complete your request because of a program error'' I've never had a problem with CS2- and I'm thinking it must be a font that is now turned off that it needs to access. Is there a list of fonts available that PS needs?

    I can manually turn those on- if I just knew hat they were.

    Or maybe it's something completely different.

    Any help is greatly appreciated!

    PSD CS File Format Documentation -...

    Hi,



    I'm trying to find the PSD file format documentation that details the byte order of PSD files for Photoshop CS1,2 and 3.



    I'm trying to write a PhP parser to modify Text Strings within Text Layers of a PSD file.

    This bit i can manage, I can find the layer, and find the text string i want to change, but changing it renders the PSD file unopenable, i assume because somewhere there is a block detailing the byte length of the Text String within the Text Layer??



    So i'm trying to figure out where this is in the layer, and if anything else needs changing when i change the Text String within the text layer.



    Is this actually possible as well, or am i wasting my time because it is compressed into the image data aswell?



    Any info would help.

    Thanks
    PSD CS File Format Documentation -...
    Hi Simon,



    If you're interested in a script that does what you're trying to do, then contact me by email and I'll provide you some further info.

    making photoshop6 work on tiger

    has any one got ps6 to work on tiger?
    making photoshop6 work on tiger
    %26gt;has any one got ps6 to work on tiger?



    Are you using the Photoshop SDK, a tool for programmers?





    Aandi Inston

    Storing generic byte stream to Registry

    I see that I can store integers, text strings, etc. to the Photoshop registry.

    I need to store a large (sometimes multi-MB) stream of data to the registry.

    Can this be done?



    I won't know the size of the data stream until after the filter is applied (the user interacts with a dialog box that will determine how much data is generated).



    Is there a registry command for storing large (variable-sized) sets of data?



    Thanks.



    Matt Rhodes

    Zaxwerks, Inc.
    Storing generic byte stream to Registry
    I would recommend writing a file and storing its location to the

    registry. If you take something designed to store a few KB of

    information and pump megabytes into it, performance isn't the only

    thing likely to suffer.



    Aandi Inston

    Developing brushes

    Hey, I'm new to the SDK and I'm wondering what is the best way to add additional brushes to Photoshop? Is there some skeleton code one can use that offers basic brush functionality? (resizing, opacity etc)

    I read somewhere that this was not possible but surely it can not be so...Developing brushes
    Hi, I'm brand new to the SDK so I can't answer your question, but I am looking for the same answer.
    The FAQ says:

    3.1.3 What can I not do with the Photoshop API?
    No non-modal plug-ins.
    No plug-in tools.
    No plug-in floating windows.
    No plug-in palettes.
    No plug-in brushes.
    No adding or changing menus.

    - ?! Which seems to make the SDK COMPLETELY USELESS to me. All I want to do was create a custom brush tip out of a full-color image instead of just grayscale so that it can take advantage of the brush settings like scatter, and angle jitter, and pressure sensitivity.

    I'll post if I find anything.Developing brushes
    Yes I agree, I think Photoshop is sub-par in this respect. I write a lot of tools for other art packages (3DS Max, Maya) and they have completely customisable UIs, so I can't see why Photoshop's SDK limits the creation of non-modal windows for your own tools.
  • help blackheads
  • lock file
  • Filter plugin kills interractive drag

    A customer just pointed out some unusual behavior in my windows filter

    plugin. After running the plugin, Photoshop is no longer able to do

    interractive dragging of pixel data.



    It's just the interactive drag that is broken. The operation completes

    normally, with the pixel data jumping into place after the mouse button is

    released. This affects floating selections, and moving of layer data with

    the move tool. Restarting Photoshop clears up the problem.



    Any ideas what I could be changing in Photoshop to make this happen?