[GRASS-dev] Size of the volume_layout image

Hi,

the image volume_layout is just too big. It is included in both user and programming manual. The problem is not the size in MB but just the fact that it is too large to show on the screen when it is part of the web page.

I think that width 500 is sufficient to see all details.

I would just change the size but I don’t know how the image was generated or if we want to have the full size image somewhere.

Vaclav

In src:
./lib/raster3d/volume_layout.png
./html/volume_layout.png
./raster3d/r3.out.ascii/g3d_volume_layout.png
./raster3d/r3.in.ascii/g3d_volume_layout.png

In dist:
./docs/html/g3d_volume_layout.png

Online:
http://grass.osgeo.org/programming7/raster3dlib.html

http://grass.osgeo.org/grass70/manuals/raster3dintro.html

http://grass.osgeo.org/grass70/manuals/r3.out.ascii.html

http://grass.osgeo.org/grass70/manuals/r3.in.ascii.html

After consultation with Sören, I changed the image size (old size file preserved). I also added simple README and renamed the images to one unified name.

Changeset:
https://trac.osgeo.org/grass/changeset/57780

Result will be visible here:

http://grass.osgeo.org/programming7/raster3dlib.html

http://grass.osgeo.org/grass70/manuals/raster3dintro.html

http://grass.osgeo.org/grass70/manuals/r3.out.ascii.html

http://grass.osgeo.org/grass70/manuals/r3.in.ascii.html

···

On Fri, Sep 20, 2013 at 12:25 AM, Vaclav Petras <wenzeslaus@gmail.com> wrote:

Hi,

the image volume_layout is just too big. It is included in both user and programming manual. The problem is not the size in MB but just the fact that it is too large to show on the screen when it is part of the web page.

I think that width 500 is sufficient to see all details.

I would just change the size but I don’t know how the image was generated or if we want to have the full size image somewhere.

Vaclav

In src:
./lib/raster3d/volume_layout.png
./html/volume_layout.png
./raster3d/r3.out.ascii/g3d_volume_layout.png
./raster3d/r3.in.ascii/g3d_volume_layout.png

In dist:
./docs/html/g3d_volume_layout.png

Online:
http://grass.osgeo.org/programming7/raster3dlib.html

http://grass.osgeo.org/grass70/manuals/raster3dintro.html

http://grass.osgeo.org/grass70/manuals/r3.out.ascii.html

http://grass.osgeo.org/grass70/manuals/r3.in.ascii.html

Vaclav:

After consultation with Sören, I changed the image size (old size
file preserved). I also added simple README and renamed the images to
one unified name.

Hi,
anyone have hints if width="x" or width="x%" in the <img src> is enough
to take care of the scaling? (some browsers rescale ugly, others blend)

e.g. I put a fairly large dimension screenshot into the G6 d.correlate.sh
help page yesterday:
https://trac.osgeo.org/grass/changeset/57779

good/no good?

Changeset:
https://trac.osgeo.org/grass/changeset/57780

How about using svn symlinks? Then there is only wasted space on Windows and the g_module_imgname.{png,jpg} naming convention for help page images could be preserved.
(Subversion takes care of all the platform details)
or probably better just have the main r3 intro doc supply the image, then just have the other help pages <img src=""> to it assuming that it will be there in $GISBASE/docs/. I don't think it even needs "../" since they all live in the same install dir.

gimp can read+write compressed files directly, so suggest to keep any .xcf files in svn as .xcf.bz2. (note mime-types remain on the internal content type, not the compression type used.)

perhaps the README should mention that r3.out.vtk + Paraview was used to make the screenshot? (it looks like it anyway) Also, I'd also suggest to rename the README to something more specific as it sits in a top-level dir and one might assume it contains high-level instructions.

thanks,
Hamish