Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where should we store the image source files? #63

Closed
xfq opened this issue Jun 12, 2019 · 16 comments
Closed

Where should we store the image source files? #63

xfq opened this issue Jun 12, 2019 · 16 comments

Comments

@xfq
Copy link
Member

xfq commented Jun 12, 2019

For background, see: https://lists.w3.org/Archives/Public/public-jlreq-admin/2019AprJun/0097.html

A lot of images source files are in .ai and .indd formats, we should figure out how to store them.

I'm not aware of any established practice in the W3C community. One possible approach is to track them with git-lfs (perhaps in a separate repo, to maintain a relatively fast cloning experience for the main jlreq repo).

Another possible way is using a file hosting service. The Publishing BG uses Google Drive (mostly for sharing documents, tho).

Just my 2 cents...

PS: IIRC most .ai and .indd files are under 2 megabytes, which doesn't seem to be that large.

@r12a
Copy link
Contributor

r12a commented Jun 12, 2019

@xfq did we check whether we already have these stored in CVS?

@xfq
Copy link
Member Author

xfq commented Jun 12, 2019

After checking with @r12a, we didn't find the .ai and .indd files in CVS. There are only some PNG and SVG files.[1][2]

Links:

[1] https://www.w3.org/2007/02/japanese-layout/docs/aligned/Images-en/
[2] https://www.w3.org/2007/02/japanese-layout/docs/aligned/Images-ja/

@r12a
Copy link
Contributor

r12a commented Jun 12, 2019

To my mind, the next question is: Do the .ai files contain things that the .svg files don't? (eg. perhaps they contain useful layers?)

@himorin
Copy link
Contributor

himorin commented Jun 12, 2019

I cannot open .ai files, so I have no idea on any additional layers to .svg-s and how .svg-s are built from, but at least for updated images .ai/.indd files are the sole source which are better to be kept in repository.

@r12a
Copy link
Contributor

r12a commented Jun 12, 2019

Given that we serve images as .png, i find myself wondering why we stored .svg versions in the past. Perhaps Kobayashi-san can tell us.

@kojiishi
Copy link
Contributor

Isn't it for other authors to modify existing images? Having the sources is helpful for such cases.

@r12a
Copy link
Contributor

r12a commented Jun 18, 2019

@kojiishi but it seems like the original source files were .ai (Illustrator) fliles, from which it seems both .svg and .png files were exported. I suppose that .svg is more accessible to many editors than .ai files, but they may also have different properties as source files.

So i was curious, and hoping that perhaps someone like Kobayashi-san would remember the original rationale for generating the .svg versions.

@xfq
Copy link
Member Author

xfq commented Jun 20, 2019

@himorin
Copy link
Contributor

himorin commented Jun 21, 2019

Thank you for pointing this @xfq , and sorry for late to mention on that here...

  • he has no idea why SVG files are generated, and proposing to delete them if possible
  • some .ai files contain layer data which .svg files do not have, but these are drafts or references and only useful for editors of .ai files

@himorin
Copy link
Contributor

himorin commented Jun 21, 2019

I'd propose to ignore about .svg files in CVS, and push .ai/.indd files currently used for editing in some directory like "source" or "images_source".

@xfq
Copy link
Member Author

xfq commented Jun 21, 2019

We could change the PNG images in the document to SVG in the future, to make them smoothly zoomable, although that's a separate issue, and does not necessarily need addressing in the 2nd (current) edition.

@xfq
Copy link
Member Author

xfq commented Jun 21, 2019

I'd propose to ignore about .svg files in CVS, and push .ai/.indd files currently used for editing in some directory like "source" or "images_source".

@himorin You mean, in this GitHub repo?

@himorin
Copy link
Contributor

himorin commented Jun 21, 2019

I'd propose to ignore about .svg files in CVS, and push .ai/.indd files currently used for editing in some directory like "source" or "images_source".

@himorin You mean, in this GitHub repo?

ah, yes, sorry that it was not clear. first sentence is for CVS, latter is for this GitHub repo.

@r12a
Copy link
Contributor

r12a commented Jun 24, 2019

Note that the english and japanese images have the same file names, so if we store the .ai files on github, i'd suggest avoiding to have more top-level directories and instead create a 'source' directory under /images and another 'source' directory under /images_ja, and add the relevant files there.

@himorin
Copy link
Contributor

himorin commented Jul 8, 2019

@himorin
Copy link
Contributor

himorin commented Sep 11, 2019

PR merged, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@kojiishi @xfq @himorin @r12a and others