Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 200203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:05:29+00:00 2026-05-11T17:05:29+00:00

I have a photoshop plugin for a file format Ive written in c++ that

  • 0

I have a photoshop plugin for a file format Ive written in c++ that loads and opens the images, however I do not have code to save the image in the same format

Using SimpleFormat sample plugin as a base I have the following code:

    FormatFlags { fmtSavesImageResources, 
                  fmtCanRead, 
                  fmtCanWrite, 
                  fmtCanWriteIfRead, 
                  fmtCanWriteTransparency, 
                  fmtCanCreateThumbnail },

However removing fmtCanWrite or IfRead etc produces parser errors in the Pipl tool, I’ve checked the syntax and it should be correct but I cannot figure out how to do this =s

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:05:29+00:00Added an answer on May 11, 2026 at 5:05 pm

    This is really counter-intuitive but if you check out pg 77 of Plug-in Resource Guide.pdf from the SDK the flags aren’t really flags, they are actually keywords. Based on the grammar they give, to not include the write flag you actually need to replace it with a do-not-write flag.

    For example, this compiles fine for me:

        FormatFlags { fmtDoesNotSavesImageResources, 
                      fmtCanRead, 
                      fmtCannotWrite, 
                      fmtCanWriteIfRead, 
                      fmtCanWriteTransparency, 
                      fmtCanCreateThumbnail }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this JPEG image , that opens fine in Picasa, Photoshop, web browser,
I have used Photoshop CS2's Save for Web feature to create a table of
I have run into a common, yet difficult problem. I do not use Photoshop
I have created a png image in photoshop with transparencies that I have loaded
I have a grayscale icon that I'm editing with Photoshop with a transparent background,
I have a mac sitting right next to my PC for photoshop/illustrator/flash development. However,
I have an image format and Photoshop doesn't support it. I've been tasked with
I have a Photoshop mockup that has some customized buttons and inputs and I
i have created a icon in photoshop and its a png file i have
i have a photoshop psd-file (opened with PS-CS4) with a new design for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.